What is the output? python x = 20.5 print(type(x))
- <class 'int'
- <class 'float'
- <class 'str'
- <class 'double'
Answer
B) <class 'float'
20.5 has a decimal point, so it is a float. SLO CS-11-C-02 · Application
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise