好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

随便画的线

import random numArray=[] numStr=[] unite=['','十','百','千','万','十','百','千','亿','十'] jici=1 for item in range(0,10): numArray.append(str(random.randint(100000,9999999999))) for item in numArray: for item2 in item: numStr=numStr+item2+unite[len(item)-jici] jici=jici+1 jici=0 print(numStr) numStr=""

查看更多关于随便画的线的详细内容...

  阅读:16次