摘要: #方法1 赋值的方法username = input("username:")passwd = input("passwd:")age = input("age:")job = input("job:")info = """username = {_name}passwd = {_passwd}ag 阅读全文
posted @ 2021-02-05 17:01 大爷低调的菜 阅读(180) 评论(0) 推荐(0)
摘要: while循环猜数字 #!/usr/bin/env python# -*- coding:utf-8 -*-# Author:youngage_of_young = 30count = 0while count <3: guess_age = int(input("guess_age:")) if 阅读全文
posted @ 2021-02-05 16:51 大爷低调的菜 阅读(100) 评论(0) 推荐(0)