Commit 40639849 by BellCodeEditor

save project

parent ee7e5318
Showing with 4 additions and 1 deletions
...@@ -2,10 +2,12 @@ g={"农":1,"水":2} ...@@ -2,10 +2,12 @@ g={"农":1,"水":2}
h={"发":2,"胡":3} h={"发":2,"胡":3}
j={"天":g,"才":h} j={"天":g,"才":h}
while True:
print("输出t停止")
name=input("名字") name=input("名字")
if name in j: if name in j:
for i,k in j[name].items(): for i,k in j[name].items():
print(i,k) print(i,k)
elif:name=="t"
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