Run
str = 'pythonexamples125' isalnum = str.isalnum() print('Is String Alphanumeric :', isalnum)
Output