Commit 989b6837 by BellCodeEditor

save project

parent 3eb4c16b
Showing with 8 additions and 9 deletions
import random sr = {'语文':89,'数学':95,'英语':80}
a=random.randint(0,4) def get_average(sr)
if a >= 4: s = 0
print("获得打败灭霸的力量,反杀稳了!") for subject, s in sritems():
elif: <=a <= 3: s+s
print("可以全员出动,拼死一搏") print("现在的总分%d"s)
else:
print("没有办法了,只能呼叫惊奇队长") \ No newline at end of file
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment