πŸ“Š Python
Q. What will the following Python code output: print(type(3.14))?
  • (A) <class 'int'>
  • (B) <class 'float'>
  • (C) <class 'complex'>
  • (D) <class 'str'>
πŸ’¬ Discuss
βœ… Correct Answer: (B) <class 'float'>

Explanation: 3.14 is a float, so the output will be '<class 'float'>'.

Explanation by: Ram Sharma
3.14 is a float, so the output will be '<class 'float'>'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
84
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
86%
Success Rate