Python3 購物車程序

1.流程圖: 2.源代碼 product_list=[('book',70),('bike',400),('iphne',3000),('food',100)]print(product_list)salary=0 #餘額shopping_list=[] #購物車while True:    salary=input("請輸入您的工資:")    if(salary.isdigit()):   
相關文章
相關標籤/搜索