Skip to content

Instantly share code, notes, and snippets.

@akirap3
Created November 28, 2020 02:37
Show Gist options
  • Save akirap3/cd9466c548eb8395dbd92e82a2500873 to your computer and use it in GitHub Desktop.
Save akirap3/cd9466c548eb8395dbd92e82a2500873 to your computer and use it in GitHub Desktop.
def checkAllChr(word, lword):
    lwordList = []   
    for chr in lword:
        lwordList.append(chr)
    check = True    
    for chr in word:
        if chr not in lwordList:
            check = False
    return check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment