input() always returns a value of type:

  1. int
  2. bool
  3. str
  4. float
Answer

C) str

The input is text; convert it with int() or float(). SLO CS-11-C-02

Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise