def sub_lt(s):
    count = 0
    for i in range(len(s)):
        print(s[i:])
        if s[i:] < s:
            count += 1
    return count

print(sub_lt("brambleFork"))

# brambleFork < brambleFork
# rambleFork < brambleFork
# ambleFork < brambleFork # true
# mbleFork < brambleFork
# bleFork < brambleFork # true
# leFork < brambleFork
# eFork < brambleFork
# Fork < brambleFork # true
# ork < brambleFork
# rk < brambleFork
# k < brambleFork




