From 600271c786a384ef48f60e7baa297f95b860a79c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 12 Dec 2021 09:51:34 +0800 Subject: [PATCH] save project --- diy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diy.py b/diy.py index 2e3be69..9482e0d 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])) + print('叮咚~您的'+j+'需要支付'+str(dict[j])+'元~') else: - prink() \ No newline at end of file + prink('没有你要的,滚') \ No newline at end of file -- libgit2 0.25.0