what is isalnum in python code example
Example: isalphanum python
s="abc 123"
s.isalnum()
#returns
False #as we have space in it
s1="abc123"
s1.isalnum()
#returns
True
s="abc 123"
s.isalnum()
#returns
False #as we have space in it
s1="abc123"
s1.isalnum()
#returns
True