πŸ“Š Python
Q. What will be the output of this code?
Code:
print(len('Hello World'))
  • (A) 10
  • (B) 11
  • (C) 12
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 11

Explanation: Length counts all characters including spaces.

Explanation by: Mr. Dubey
Length counts all characters including spaces.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate