From 16bd1a4e3345105d77a5ce2b441e71207a6ea915 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 29 Aug 2021 19:38:08 +0800 Subject: [PATCH] save project --- 03.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 03.py diff --git a/03.py b/03.py new file mode 100644 index 0000000..83163fa --- /dev/null +++ b/03.py @@ -0,0 +1,8 @@ +# 勇于挑战的创造师,下面的代码犯了三类典型错误,请你把bug揪出来吧。 +score = {'悟空语文':95,'悟空数学':88,'悟空英语':85,'悟空美术':97} +# 打印出悟空语文成绩 +print(score['悟空语文']) +# 打印出悟空的美术成绩 +print(score['悟空美术']) +# 打印出悟空英语成绩: +print('悟空英语成绩是'+str(score['悟空英语'])+'分!') \ No newline at end of file -- libgit2 0.25.0