Question: Given this dictionary my _ dictionary = { 'alpha' : 1 , 'beta' : 2 , 'gamma' : 3 } Which of the following loops
Given this dictionary
mydictionary 'alpha' : 'beta' : 'gamma' :
Which of the following loops will print out the values only?
Given this dictionary
mydictionary 'alpha' : 'beta' : 'gamma' :
Which of the following loops will print out the values only?
for d in mydictionary:
print mydictionary d
for d in mydictionary:
print mydictionary
for d in mydictionary:
print d
for d in mydictionary:
print mydictionary.d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
