函數(shù)的尾部return要是用的返回值defroll_dice(number=3,points=None):print('Choicepoints...')ifpointsisNone:points=[]whilenumber>0:point=random.randrange(1,7)points.append(point)number=number-1returnpoints
網(wǎng)站導(dǎo)航
- zblogPHP模板zbpkf
- zblog免費(fèi)模板zblogfree
- zblog模板學(xué)習(xí)zblogxuexi
- zblogPHP仿站zbpfang