Commit 275cabc1 by BellCodeEditor

save project

parent fe34ba73
Showing with 8 additions and 3 deletions
# 这是悟空为花果山小猴做臂力测试的程序代码 # 这是悟空为花果山小猴做臂力测试的程序代码
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典 # 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
python={"万千壹":70,"王祖贤":42,"卞政瑞":46} python={"学霸万千壹":70,"学者王祖贤":42,"帅哥卞政瑞":46,"数学才子黄翊轩":60}
if k=input("what would you like:")
\ No newline at end of file if k in python:
s=input("how many:")
print("叮咚~您要的"+k+str(int(python[k]*s))+"元")
else:
print("缺货")
\ 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