Sssamy
0
Q:

d = {'Mark': 100.0, 'Peter': 50.0, 'John': 25.0}for i, j in d.items(): print (i + ' pays ' + str(j))

d = {'Mark': 100.0, 'Peter': 50.0, 'John': 25.0}
for i, j in d.items(): 
	print (i + ' pays ' + str(j))
0

Tags

Related

New to Communities?

Join the community