清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @Author:Quico Tomy @Function:Input a phone number and print by line @Demo Time:2015-3-16 ''' numstr = raw_input("Input number: ") num = list(numstr) f = open('num.doc', 'a') for i in range(11): for j in range(9): f.write(num[i] + '\t\t') f.write(num[i] + '\n') f.close()