ニュース

# We can use the `isalnum ()` method of the string to check if a string contains only alphanumeric characters. # The `isalnum ()` method returns True if all characters in the string are alphanumeric ...
Python characters have a function `isalpha ()` and `isalnum ()` which can be used to strip non-alphabetical or non-alphanumeric characters in a string.