Imprimer le mot aléatoire py

import random

words = ['tree','sun','ball','moon','earth','grass','world'] 

word = random.choice(words)
print(word)
ayaan