摘要:
import random day = random.randint(1, 31) count = 0 print('猜猜2021年5月哪一天是你的lucky day:)') x = int(input(print('你有三次机会, 猜吧(1~31):'))) if count < 3: if x 阅读全文
posted @ 2021-04-16 17:30
彭锦荣
阅读(35)
评论(0)
推荐(0)
摘要:
x = list(range(10)) print('整数输出1:', end=' ') for i in x: print(i, end=' ') print('\n整数输出2:', end=' ') for i in x: print(f'{i:02d}', end='-') print('\n 阅读全文
posted @ 2021-04-16 17:29
彭锦荣
阅读(65)
评论(0)
推荐(0)
浙公网安备 33010602011771号