0

Real world applications

Just curious. What are some real-world concepts of using lists and determine if a word is in the list or not?

18th Mar 2019, 5:01 PM
Chris Ward
Chris Ward - avatar
1 Antwort
+ 4
Vocabulary program. You don't want to accidentally add a word that's already in there, so you can check for it. inp = input if inp not in word_list: word_list.append(inp)
18th Mar 2019, 5:34 PM
HonFu
HonFu - avatar