Re: [Tutor] Code for python game

2016-10-12 Thread Derry, James R
@python.org] on behalf of tracey jones-Francis [drtraceyjo...@hotmail.com] Sent: Wednesday, October 12, 2016 12:40 PM To: tutor@python.org Subject: [Tutor] Code for python game Im in the middle of designing a game in python, im quite new to using it and am struggling with a certain bit of code

Re: [Tutor] Code for python game

2016-10-12 Thread Alan Gauld via Tutor
On 12/10/16 18:40, tracey jones-Francis wrote: > I want to have a function that will ignore certain words that > i have specified in a dictionary. > the dictionary is called skip_words and has about 20 different strings in. We shouldn't care inside the function what the external data is called,

[Tutor] Code for python game

2016-10-12 Thread tracey jones-Francis
Im in the middle of designing a game in python, im quite new to using it and am struggling with a certain bit of code. I want to have a function that will ignore certain words that i have specified in a dictionary. I have tried so many different types of code but can't seem to return just the ke