From 1266b869490a756bb9a3a733d488c470273cc0bc Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 3 May 2022 20:16:48 +0800 Subject: [PATCH] save project --- diy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diy.py b/diy.py index 2e3be69..01fe3b6 100644 --- a/diy.py +++ b/diy.py @@ -2,7 +2,7 @@ dict= {'可口可乐':3,'旺仔牛奶':4,'农夫山泉':1,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10,'巧克力':6} j=input("你要买什么?") if j in dict: - prink('巧克力'(dict[j])) - + prink('你好,你要'+j+'需支付'+str(dict[j])+'元') else: - prink() \ No newline at end of file + prink('商店没货了') + -- libgit2 0.25.0