im asking w input() for user to input "spelling words" for a kids homework, and i want it to append or add the words entered into a list. i got it to ask for user input for the words, but not sure how to make it add them into a list. any ides?? thanx in advance :)
fuston05
0
Junior Poster in Training
Recommended Answers
Jump to Postspell = []
defines an empty list on every pass through the loop. You want it before the while(). Also, your code is an infinite loop, i.e. there is no exit.
All 3 Replies
fuston05
0
Junior Poster in Training
woooee
814
Nearly a Posting Maven
fuston05
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.