Commit 81b5d72e by BellCodeEditor

save project

parent fef7d158
Showing with 13 additions and 0 deletions
w={'ca':23,'cl':12,'ml':5,'wzn':9,'wznt':20,'lt':10,'gd':17}
A=input("do you want to buy somethings?\n")
if A in w:
print("The"+A+"price is"+str(w[A])+"yuan.")
y=str(input("Do you want to buy?"))
if y=='yes' :
print("ok")
else:
print("by yourself!")
else:
print("no")
\ 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