for i in range20 x=i+1 print x10
The code you provided will print the remainder of each number in the range 1 to 20 when divided by 10. Here is the output:
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
原文地址: http://www.cveoy.top/t/topic/h70Q 著作权归作者所有。请勿转载和采集!