def is_abecedarian(word):
    previous = word[0]
    for c in word:
        if c < previous:
            return False
        previous = c
    return True

#Exercise 2
#1.

def is_abecedarian(word, .flag, n+1):
    previous = word[0]
    for c in range(start, n+1):
        if c < previous in word:
            result = word
            return False
        previous += word
    return True

#2.

def is_abecedarian(word):
    previous = word[0]
    while c < previous:
        for c in range word:
            previous = word[n-1]
        return False
    return True

#Exercise 3
