Discussion :: Python MCQs
-
What is the output of the following?for i in range(float('inf')):print (i)
Answer : Option D
Explanation :
Error, objects of type float cannot be interpreted as an integer.
Be The First To Comment