z2x2c8 发表于 2020-9-6 15:44:56

看看

jitianmoshen 发表于 2020-9-6 16:06:23

楼主辛苦了,谢谢楼主,感谢楼主分享,楼主好人一生平安!!!

谢啾啾 发表于 2020-11-3 16:13:52

numbers = input('请输入整数列:')
number = numbers.split()
nums = []

for each in number:
    num = int(each)
    nums.append(num)

nums.reverse()
print(nums)

sun8061 发表于 2021-1-14 13:23:17

python学习

一块钱赫赫 发表于 2021-3-13 20:42:27

import random

list = []
for i in range(10):
    list.append(random.randint(1,10))
print(list)
list.reverse()
print(list)
页: 1 2 3 4 5 [6]
查看完整版本: Python:每日一题 18(答题,给题领鱼币)