πŸ“Š Python
Q. What is the output of `print(type({}))`?
  • (A) <class 'list'>
  • (B) <class 'set'>
  • (C) <class 'dict'>
  • (D) <class 'tuple'>
πŸ’¬ Discuss
βœ… Correct Answer: (C) <class 'dict'>

Explanation: `{}` creates an empty dictionary in Python. An empty set must be created with `set()`.

Explanation by: Rati Dubey
`{}` creates an empty dictionary in Python. An empty set must be created with `set()`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
7 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
91%
Success Rate