Write a program Creating a Dictionary with dict() method


Topic: Write a program Creating a Dictionary with dict() method

Solution

Dict = dict({1: 'Geeks', 2: 'For', 3:'Geeks'}) 
print("\nDictionary with the use of dict(): ") 
print(Dict) 



List all Python Programs