摘要:
product_list = [ ['iphone6s', 5800], ['mac book', 9000], ['coffee', 32], ['python book', 80], ['bicycle', 1500]]shopping_cart = []while True: salary = 阅读全文
摘要:
lst0 = ['购买商品','金额']lst1 = ['1.','iphone6s','5800']lst2 = ['2.','mac book','9000']lst3 = ['3.','coffee','32']lst4 = ['4.','python book','80']lst5 = [' 阅读全文
摘要:
name = input("Name:")age = input("Age:")job = input("Job:")salary = input("Salary:")if salary.isdigit(): salary = int(salary)if age.isdigit(): age = i 阅读全文