Code: Select all
print("Top Three Finalists in the Race:")
keys = ['1', '2', '3']
values = ['tortoise', 'hare', 'penguin']
dictionary_of_race_finalists = dic(zip(keys, values))
for d in dictionary_of_race_finalists:
print(d)
Code: Select all
print("Top Three Finalists in the Race:")
keys = ['1', '2', '3']
values = ['tortoise', 'hare', 'penguin']
dictionary_of_race_finalists = dic(zip(keys, values))
for d in dictionary_of_race_finalists:
print(d)