1 #!/usr/bin/python 2 # -*- coding: utf-8 -*- 3 numbers = raw_input("输入一些数字,用逗号分隔:").split(",") 4 print numbers 5 x = 0 6 while x < len(numbers): 7 print numbers[x] 8 x += 1