变量a = 键,变量b = 值,对吗?
user_0 = {"usename":"efermi","first":"enrico","last":"fermi"}for a,b in user_0.items():
print(f"\nkey:{a}")
print(f"value:{b}")
运行结果:
key:usename
value:efermi
key:first
value:enrico
key:last
value:fermi
变量a = 键,变量b = 值,对吗?
对!
页:
[1]