Python dictionary of tuples
#python dictionary of tuples
dic_of_tuples = {'tuple-1': (30, 40), 'tuple-2': (50, 60), 'tuple-3': (70, 80)}
# Print tuple-2
print(dic_of_tuples['tuple-2'])
Output:
(50, 60)
#python dictionary of tuples
dic_of_tuples = {'tuple-1': (30, 40), 'tuple-2': (50, 60), 'tuple-3': (70, 80)}
# Print tuple-2
print(dic_of_tuples['tuple-2'])
Output:
(50, 60)