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
- Which programming pays more attention on data rather than functions?
- .......... refers to the procedure of representing essential features without including the background details.
- In Python Dictionaries organize the information by ........, not position.
- In Python "==" operator returns true if :
- A .......... is the specification of legal values for variable of the type.
- In Python .......... operator is used to determine the element's presence or absence in list.