📌  相关文章
📜  python代码示例中的pangrams hackerrank解决方案

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

代码示例1
ascii_array = []
def pangram(string):
    lower_string = string.lower()
    for i in range(len(lower_string)):
        ascii_array.append(ord(lower_string[i]))
    for i in range(97, 123):
        if i not in ascii_array:
            return 'Not Pangram'
    return 'Pangram'