Commit c8f51aa2 by BellCodeEditor

save project

parent 8143096f
Showing with 11 additions and 0 deletions
a={'核弹':10000,'炸弹':5000,'氢弹':1000000}
s=input('你要啥:')
j=input('今日价格')
if s in a :
if int(j)>a[s]:
print('不买')
else:
print('买')
else:
a[s]=j
\ 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