πŸ“Š Python
Q. What is the output of this code?
Code:
print(len('Python'))
  • (A) 5
  • (B) 6
  • (C) 7
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 6

Explanation: `len()` returns the number of characters in the string.

Explanation by: Mr. Dubey
`len()` returns the number of characters in the string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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