Commit 0df3ca83 by BellCodeEditor

save project

parent f66b0788
Showing with 5 additions and 2 deletions
...@@ -10,12 +10,14 @@ sb = {'sb4': sb1, 'sb5': sb2, 'sb6': sb3} ...@@ -10,12 +10,14 @@ sb = {'sb4': sb1, 'sb5': sb2, 'sb6': sb3}
while True : while True :
name = input("名字:") name = input("名字:")
print("sb"*30) print("sb"*30)
print("打名字,退出请打sb")
if name in sb : if name in sb :
a = sb[name] a = sb[name]
for k,v in a.items(): for k,v in a.items():
print(k,v) print(k,v)
print("sb"*30) print("sb"*30)
elif name=="sb":
break
else: else:
print('输入错误') 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