import random words = ['tree','sun','ball','moon','earth','grass','world'] word = random.choice(words) print(word)