All mock tests are FREE till 31 December — register to save your progress
Unit 3 · Programming Concepts & Python HTET 2024 PGT Computer Science · 30 July 2025

In Python .......... function returns the number of characters in string argument.

पायथन में यह फंक्शन स्ट्रिंग में कैरेक्टर की संख्या बताता है :

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Len

Explanation

len() returns the number of items in a sequence; for a string that is the number of characters — len('HTET') is 4.

len() किसी अनुक्रम में आइटम की संख्या देता है; स्ट्रिंग के लिए यह कैरेक्टर की संख्या है — len('HTET') = 4।

More Programming Concepts & Python questions