02 2021 档案

摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-# Author:youngregion = { "四川":{"巴中":{"平昌":["链家地产","平昌小学"],"南江":["南江幼儿园","南江广电"]}, "德阳":{"中江":["中江挂面","中江表妹" 阅读全文
posted @ 2021-02-20 16:47 大爷低调的菜 阅读(71) 评论(0) 推荐(0)
摘要:#!/usr/bin/env python# -*- coding:utf-8 -*-# Author:young#正在销售的商品列表shopping_list = [ ('Iphone',6800), ('Watch',10800), ('Coffee',32), ('Bag',120), ('P 阅读全文
posted @ 2021-02-19 11:21 大爷低调的菜 阅读(81) 评论(0) 推荐(0)
摘要:#方法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 大爷低调的菜 阅读(101) 评论(0) 推荐(0)