Robotics & Artificial Intelligence

The method used to check that all characters in a string are alpha numeric is …………… .

  1. isal()
  2. isalnum()
  3. isnum()
  4. isalphanum()

Python String Manipulation

3 Likes

Answer

isalnum()

Reason — The isalnum() function returns True if all the elements of the string are alphanumeric.

Answered By

1 Like


Related Questions