πŸ“Š Python
Q. Which special method allows an object to be called like a function?
  • (A) __call__
  • (B) __func__
  • (C) __run__
  • (D) __exec__
πŸ’¬ Discuss
βœ… Correct Answer: (A) __call__

Explanation: If `__call__` is defined, the object can be called like a function.

Explanation by: Mr. Dubey
If `__call__` is defined, the object can be called like a function.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
57
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate