摘要: 1 import time 2 import random 3 4 player_victory = 0 5 enemy_victory = 0 6 a1 = True 7 while a1: 8 for i in range(1,4): 9 time.sleep(1.5) 10 print(' \ 阅读全文
posted @ 2020-02-26 19:23 BQ不吃香菜 阅读(1066) 评论(1) 推荐(1)
摘要: 随机生成函数: import random //首先要引用random模板 print(random.randint(0,9)) //random的语法 random.randint(0,9) 0~9是一个范围 阅读全文
posted @ 2020-02-26 18:00 BQ不吃香菜 阅读(196) 评论(1) 推荐(0)