We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Strings
- String Validators
- Discussions
String Validators
String Validators
Sort by
recency
|
1778 Discussions
|
Please Login in order to post a comment
print(any(cop.isalnum() for cop in s)) print(s.upper()!=s.lower()) print(any(cop.isdigit() for cop in s)) print(s.upper()!=s) print(s.lower()!=s)
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)
if name == 'main': s = input()