Imprimer le mot aléatoire Python

import random

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

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