String Validators

  • + 0 comments

    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)