Advertisements
Advertisements
प्रश्न
Write a Python statement to perform the following tasks: (USE BUILT-IN FUNCTIONS/METHODS ONLY)
A statement to check whether the given character, ch is an alphabet or a number.
अति संक्षिप्त उत्तर
Advertisements
उत्तर
ch.isalnum()
The isalnum() method returns True if the character ch is either a letter (A-Z, a-z) or a digit (0-9). Otherwise, it returns False.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2025-2026 (March) Set 4
