摘要:
product_list = [ ['iphone6s', 5800], ['mac book', 9000], ['coffee', 32], ['python book', 80], ['bicycle', 1500]]shopping_cart = []while True: salary = 阅读全文
posted @ 2018-10-04 15:14
david2018
阅读(100)
评论(0)
推荐(0)
摘要:
lst0 = ['购买商品','金额']lst1 = ['1.','iphone6s','5800']lst2 = ['2.','mac book','9000']lst3 = ['3.','coffee','32']lst4 = ['4.','python book','80']lst5 = [' 阅读全文
posted @ 2018-10-04 00:52
david2018
阅读(106)
评论(0)
推荐(0)
摘要:
name = input("Name:")age = input("Age:")job = input("Job:")salary = input("Salary:")if salary.isdigit(): salary = int(salary)if age.isdigit(): age = i 阅读全文
posted @ 2018-10-04 00:47
david2018
阅读(288)
评论(0)
推荐(0)
浙公网安备 33010602011771号