0
Print a élément of dictionary (thé dictionary is in a list)
s=[{'a':1},{'b':2}] I want to print 1 and 0 How to do it
2 ответов
+ 4
print(s[0]['a']) # 1
print(s[0]['b']) # 2
0
Thank you Diego
s=[{'a':1},{'b':2}] I want to print 1 and 0 How to do it