摘要:
1 # 需要在python3上执行 2 import random 3 def game (capital = 1000): 4 point1 = random.randrange(1,7) 5 point2 = random.randrange(1,7) 6 point3 = random.ran 阅读全文
摘要:
1 # 登录操作 2 PassWord_list = [] 3 Reset_pw = '*#*#' 4 def account_login(): 5 if PassWord_list == []: 6 PassWord = input("请设置初始密码:") 7 if PassWord.isalnu 阅读全文
摘要:
1 # 九九乘法表 2 print(" 九九乘法表") 3 for table_x in range(1,10): 4 for table_y in range(1,table_x +1): 5 print('{}x{}={}'.format(table_x,table_y,table_x*tabl 阅读全文