摘要:
print(value,sep=' ',end='\n',file=sys.stdout, flush=False) sep=' '默认空格 print('hello','world') #hello world print('hello','world',sep='|') #hello|world 阅读全文
摘要:
string.ascii_lowercase ='abcdefghijklmnopqrstuvwxyz' string.ascii_uppercase ='ABCDEFGHIJKLMNOPQRSTUVWXYZ' string.ascii_letters ='abcdefghijklmnopqrstu 阅读全文
摘要:
random.random() 返回[0,1)之间的浮点数 random.randrange(stop) / random.randrange(start,stop[,step]) 返回[0,stop) / [start,stop)且步长为step的整数 random.randint(start,s 阅读全文