摘要: '''while Ture: 条件成立一直循环count = 0 初始化计数器while 条件循环需要执行的代码else:'''age_oldboy = 56count=0while count < 3: age_guess = int(input("age_guess:")) if age_gue 阅读全文
posted @ 2020-12-21 14:50 lyfz 阅读(69) 评论(0) 推荐(0)
摘要: '''if 条件 输出结果elif 条件 输出结果else: print() '''#猜年龄age_oldboy = 56age_guess = int(input("age_guess:")) if age_guess < age_oldboy: print("You guess smaller" 阅读全文
posted @ 2020-12-21 14:48 lyfz 阅读(86) 评论(0) 推荐(0)