Half-Day Online Pilot Workshop on AutoDock4 on 9 August 2024, 2:00 pm to 5.30 pm. Click here to register.

Dictionaries - English

12874 visits



Outline:

Overview of dictionaries Creating an empty dictionary Creating a non empty dictionary About key:value pair How to access the dictionary elements Demonstration of wrong key Add, delete and modify an item in a dictionary Usage of method in Retrieve the keys and values by using the methods keys() and values() Iterate over elements of a dictionary using a for loop