题解 | #被5整除的数字#
被5整除的数字
http://www.nowcoder.com/practice/ea64853bae7045f5a2fb1feaf64832dd
my_list=[] for i in range(1,51): if i%5==0: my_list.append(i)
for i in my_list: print(i)
被5整除的数字
http://www.nowcoder.com/practice/ea64853bae7045f5a2fb1feaf64832dd
my_list=[] for i in range(1,51): if i%5==0: my_list.append(i)
for i in my_list: print(i)
相关推荐