Amer's Corner on the Interwebs

Python Programming

Adjectives Generator

Code

from random import choice
from time import sleep

with open('adverbs.txt') as f:
    adverbs = f.read().splitlines()

with open('adjectives.txt') as f:
    adjectives = f.read().splitlines()

for i in range(1000):
    print(choice(adverbs)+' '+choice(adjectives))