📌  相关文章
📜  字符串验证器hackerrank解决方案 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:05.885000             🧑  作者: Mango

代码示例2
if __name__ == '__main__':
    s = input()
    print(any(a.isalnum() for a in s) )
    print(any(a.isalpha() for a in s) )
    print(any(a.isdigit() for a in s) )
    print(any(a.islower() for a in s) )
    print(any(a.isupper() for a in s) )