Which of the following string operators in Python is used to find the length of a string 'a'?

ICSE Class 10 Robotics & AI PYQ · 2026 Paper · Section A

1(ix)1 Mark · 2026 · Section A · 2026 Paper

Which of the following string operators in Python is used to find the length of a string 'a'?

Show SolutionHide Solution↓

len(a)

Reason — The function len() is used to find the number of characters in a string. When the string a is passed as an argument, len(a) returns its length.

← Previous questionNext question →

Browse the free Robotics & AI sample bank