How to create empty set and dictionary in python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create empty set and dictionary in python?

normally we create the empty list is like this list=[]

1st Sep 2017, 5:12 PM
kondaiah sinha
kondaiah sinha - avatar
1 Answer
+ 5
lists=[] dicts={} tuples=() sets=set()
1st Sep 2017, 5:18 PM
Ghauth Christians
Ghauth Christians - avatar