I need to add a randomly selected movie to a list:
def rand(): displayList = [] item = print(random.choice(movies_list)) displayList.append(item) print(displayList)
But this doesn't seem to add "item" to "displayList" Help??
Aucun commentaire:
Enregistrer un commentaire