String Validators

  • + 0 comments

    if name == 'main': s = input() print(*[any(map(f, s)) for f in [str.isalnum, str.isalpha, str.isdigit, str.islower, str.isupper]], sep='\n')