22 questions · timed · auto-graded
Observe the following Python code very carefully and rewrite it after removing all syntactical errors with each
correction underlined.
|
List |
Tuple | Dictionary |
| Mutable | Immutable. | Mutable |
| Have order. | Have structure. | A dictionary is a key-value store. |
| t=['Red','Green','Blue'] | (1,'Krrishnav',90) | Dict={'Madrid':10,'Barcleona':20} |
{'Dhoni':7, 'Kohli':18, 'Sachin':10}
What is Tuple?