Q. Which function is used to get user input in Python?

  • (A) get()
  • (B) input()
  • (C) scan()
  • (D) read()
πŸ’¬ Discuss
βœ… Correct Answer: (B) input()
Explanation: `input()` is used to read input from the user as a string.
Explanation by: Mr. Dubey
`input()` is used to read input from the user as a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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