import random

prefix = [
'Look at you! ',
'Bless ',
'Bless! ',
'I heard about that! ',
'Amen!',
'You and the kids doing alright?',
'Miss ya\'ll!'
]

suffix = [
'. Amen!',
'. God bless america',
'. God bless!',
' haha',
'. love ya!',
'. love ya\'ll!',
]

def add_pre_suf(sentence):
    if random.randint(1,10) <= 6:
        if random.randint(1,10) <= 5:
            sentence = prefix[random.randint(0, len(prefix) - 1)] + sentence
        else:
            sentence += suffix[random.randint(0, len(suffix) - 1)]
    return sentence

def add_elipses(sentence):
    words = sentence.split()
    for i in range(4, len(words), 5):
        if random.randint(1,10) <= 7:
            words[i] += "..."
    return " ".join(words)

def boomer_caps(sentence):
    seed = random.randint(1, 10)
    sent_array = sentence.split()
    if seed in (1, 2, 3):
        return sentence
    elif seed in (4, 5):
        temp_sent = []
        for x in sent_array:
            if random.random() < 0.25:
                x = x.upper()
            temp_sent.append(x)
        return " ".join(temp_sent)
    elif seed in (6, 7):
        temp_sent = []
        for x in sent_array:
            if random.random() < 0.5:
                x = x.upper()
            temp_sent.append(x)
        return " ".join(temp_sent)
    elif seed in (8, 9):
        return sentence.title()
    elif seed == 10:
        return sentence.upper()

[((38, 11, 38, 32), 'random.randint', 'random.randint', ({(38, 26, 38, 27): '1', (38, 29, 38, 31): '10'}, {}), '(1, 10)', False, 'import random\n'), ((23, 7, 23, 27), 'random.randint', 'random.randint', ({(23, 22, 23, 23): '(1)', (23, 24, 23, 26): '(10)'}, {}), '(1, 10)', False, 'import random\n'), ((24, 11, 24, 31), 'random.randint', 'random.randint', ({(24, 26, 24, 27): '(1)', (24, 28, 24, 30): '(10)'}, {}), '(1, 10)', False, 'import random\n'), ((33, 11, 33, 31), 'random.randint', 'random.randint', ({(33, 26, 33, 27): '(1)', (33, 28, 33, 30): '(10)'}, {}), '(1, 10)', False, 'import random\n'), ((45, 15, 45, 30), 'random.random', 'random.random', ({}, {}), '()', False, 'import random\n'), ((52, 15, 52, 30), 'random.random', 'random.random', ({}, {}), '()', False, 'import random\n')]