Imprimez un mot aléatoire de la liste Python

import random

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

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