Python自学:第五章 动手试一试 4-3
# -*- coding: GBK -*- numbers = ["1",'2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20'] for number in numbers: print(number)
输出为:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# -*- coding: GBK -*- numbers = ["1",'2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20'] for number in numbers: print(number)
输出为:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20