Commit d159cff9 by BellCodeEditor

auto save

parent 1b986697
Showing with 20 additions and 1 deletions
abcd1={'甲骨文':0,'白学':3.141592653589793,'鸟语':59}
abcd2={'甲骨文':59,'白学':0,'鸟语':3.141592653589793}
abcd3={'甲骨文':3.141592653589793,'白学':59,'鸟语':0}
cr={'去微软推哦怕':abcd1,'阿斯顿法国红酒看来':abcd2,'自行车v不那么':abcd3}
while True:
name=input("名字:")
print("*"*30)
if name in cr:
cr=cr[name]
for k,v in cr.items():
print(k,v)
print("*"*30)
else:
print("查询错误")
print("*"*30)
print("程序结束")
\ No newline at end of file
cr = {'甲骨文':0,'白学':3.14159265358979323846264338279,'鸟语':59,}
cr = {'甲骨文':0,'白学':3.14159265358979323846264338279,'鸟语':59}
for a,b in cr.items():
print(a,b)
\ 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