📜  pangram 函数 - Python 代码示例

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

代码示例1
def is_pangram(str, alphabet = "abcdefghijklmnopqrstuvwxyz"):
  alphabet = alphabet.lower()
  for char in alphabet:
    if char not in str.lower():
      return False
  
  return True
string = input("text>>")
print(is_pangram(string))