You are viewing a single comment's thread. Return to all comments →
print(any(char.isalnum() for char in s)) print(s.upper()!=s.lower()) print(any(char.isdigit() for char in s)) print(s.upper()!=s) print(s.lower()!=s)
Seems like cookies are disabled on this browser, please enable them to open this website
String Validators
You are viewing a single comment's thread. Return to all comments →
print(any(char.isalnum() for char in s)) print(s.upper()!=s.lower()) print(any(char.isdigit() for char in s)) print(s.upper()!=s) print(s.lower()!=s)