Explanation: the built-in functions min(), max(), divmod(), ord(), any(), all() etc throw an error when no arguments are passed to them. however there are some built-in functions like float(), complex() etc which do not throw an error when no arguments are passed to them. the output of float() is 0.0.
Q. Which of the following functions will not result in an error when no arguments are passed to it?
β
Correct Answer: (D)
float()
Explanation by: Mr. Dubey
the built-in functions min(), max(), divmod(), ord(), any(), all() etc throw an error when no arguments are passed to them. however there are some built-in functions like float(), complex() etc which do not throw an error when no arguments are passed to them. the output of float() is 0.0.
Discussion
Question Analytics
743
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
99%
Success Rate