1. Home
  2. MCQs by exam
  3. Python Interview Output Prediction

Python Interview Output Prediction MCQs

21 multiple choice questions typical of the Python Interview Output Prediction exam, with answers and explanations. Switch on practice mode to test yourself first.

Showing 1–21 of 21

What is the output of print(float('inf')) in Python?

print(float('inf'))
  1. Error
  2. 0
  3. None
  4. inf Correct answer
MCQSEXAM Read explanation