Abschnitt 1. Kapitel 2
single
Random Word
Swipe um das Menü anzuzeigen
To play the game it is needed to choose one gameword randomly from the word_list. To do that we create choose_word_random function.
Aufgabe
Swipe to start coding
- Set the
choose_word_randomfunction using theword_listas an argument. - Return random word from the
word_listinside the function usingrandom.choice(...)function. - Test the function using the
test_word_listlist.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 2
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen