Write a program Creating a Dictionary with each item as a Pair


Topic: Write a program Creating a Dictionary with each item as a Pair

Solution

Dict = dict([(1, 'Geeks'), (2, 'For')]) 
print("\nDictionary with each item as a pair: ") 
print(Dict) 



List all Python Programs