author.QQ=' '.join (str (random.choice (range ) 10 ) ) for _ in range(9)9) /随机生成的用户的QQ号)表示此代码
QQ=' '.join (str (random.choice (range (10 ) ) for _ in range(9)9) ) ) print (QQ ) 177291006 //可见打印inmoduletypeerror : canonlyjoinaniterableprint ('.join ) range(4) )跟踪(mostrecentcalllast ) 3360文件' ile inmoduletypeerror : sequence item 0: expectedstrinstance,int found的密钥是. join ()函数接受iterable对象,然后执行函数操作