Question
Write the difference between List, Tuple and Dictionary.
|
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} |
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
Write the output of the following statements:
What will be the degree and cardinality of these tables in the cartesian product?