Dict() without parameters will create an empty dictionary.



The dict() function is used to create a dictionary object in Python

The dict() function can take different types of arguments to create a dictionary object, such as a sequence of tuples, a mapping object, or keyword arguments. However, if the dict() function is called without any parameters , it will create an empty dictionary object, meaning it has no key-value pairs.

So, the given statement is true.

Go Ad-free
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh has done his B.Tech from Indian Institute of Technology, Kanpur. He has been teaching from the past 14 years. He provides courses for Maths, Science, Social Science, Physics, Chemistry, Computer Science at Teachoo.