Can we use { } curly brackets to create dictionaries, and square brackets to index them
That is in the spec for how dictionaries work.
Do you any Good Blog link for this ?
The Python documentation perhaps? https://docs.python.org/3/tutorial/datastructures.html#dictionaries
1 Like