随机对比
摘要:
import random def fun(): a = 0 b = 1 total = 0 while a != b: a = random.randint(0,9) b = random.randint(0,9) total += 1 print(a,b,total) else: print(' 阅读全文
posted @ 2021-12-29 10:31 天若有情66 阅读(33) 评论(0) 推荐(0) 编辑