Q. What does the `input()` function return?

  • (A) Integer
  • (B) String
  • (C) Float
  • (D) Depends on input
πŸ’¬ Discuss
βœ… Correct Answer: (B) String
Explanation: `input()` always returns the user input as a string.
Explanation by: Mr. Dubey
`input()` always returns the user input as a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate