rusher-md / learning-python

0 stars 0 forks source link

wap makw dict lst tup reverse each other convert each other convert all of them print individual element same for tup lst dict print the middle element #6

Closed rusher-md closed 1 year ago

Adnan0o7 commented 1 year ago
Adnan0o7 commented 1 year ago
Adnan0o7 commented 1 year ago

The dictionary is a different data type. Tuples and lists cannot be converted into a dict directly.

Refer to the below diagram:

image