Commit f601d1ca by BellCodeEditor

save project

parent 521c7573
Showing with 5 additions and 12 deletions
weather={'北京':8,'上海':15,'广州':20,'深圳':21}
weather.pop("北京") weather.pop
print(weather)
C={'北京':8,'上海':15,'广州':20,'深圳':21} C={'北京':8,'上海':15,'广州':20,'深圳':21}
C={'北京':8,'上海':15,'广州':20,'深圳':21} C={'北京':8,'上海':15,'广州':20,'深圳':21}
M={"洛杉矶":8,'华盛顿':5} for k,y in c.items():
Q={'伦敦':-1,'柏林':6,'悉尼':23,'巴黎':5} print(k,y;[p])
score = {'中国':C,'美国':M,'其他':Q}
name=input("名字")
weather=score[name]
for k,v in weather.items():
print(k,v)
\ 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