Computer Science, asked by PatriciaBCox5480, 1 year ago

How to create nested Python dictionary?

Answers

Answered by Zisha7
0

Answer:

To create a nested dictionary, simply pass dictionary key:value pair as keyword arguments to dict() Constructor. You can use dict() function along with the zip() function, to combine separate lists of keys and values obtained dynamically at runtime.

Similar questions