Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48755
| Date | 2013-06-19 17:32 -0400 |
|---|---|
| From | Dave Angel <davea@davea.name> |
| Subject | Re: Problem with the "for" loop syntax |
| References | <18f427ef-7a9a-413d-a824-65c9df430db3@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3598.1371677588.3114.python-list@python.org> (permalink) |
On 06/19/2013 05:14 PM, arturo balbuena wrote: > Hello guys... > I´m a begginer in Python, I'm doing a Hangman game, but I'm having trouble with this blank space. I would be greatful if you help me. :) > > Here's my code: > > http://snipplr.com/view/71581/hangman/ > > When I run the code it says: Invalid Syntax and this is the error: > > http://i.imgur.com/jKYOPMY.png > > http://i.imgur.com/ySoOZFR.png > > If you want us to read it, put it in your message. Show at least a few lines before and after the syntax error, and show the error itself, as text of course. Use copy/paste. Of course that assumes you're using a proper console/shell, and know how to use it. So if you have to ask about that, start there. In addition, specify the python version, and if appropriate, the OS and its version. Generally, you can find your own problem. Syntax errors that seem confusing are frequently really on the line before the line in which they're "discovered." -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem with the "for" loop syntax arturo balbuena <a7xrturodev@gmail.com> - 2013-06-19 14:14 -0700
Re: Problem with the "for" loop syntax John Gordon <gordon@panix.com> - 2013-06-19 21:30 +0000
Re: Problem with the "for" loop syntax Dave Angel <davea@davea.name> - 2013-06-19 17:32 -0400
Re: Problem with the "for" loop syntax Ian Kelly <ian.g.kelly@gmail.com> - 2013-06-19 16:35 -0600
Re: Problem with the "for" loop syntax Arturo B <a7xrturodev@gmail.com> - 2013-06-19 15:53 -0700
Re: Problem with the "for" loop syntax Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-20 00:15 +0100
Re: Problem with the "for" loop syntax Arturo B <a7xrturodev@gmail.com> - 2013-06-19 17:32 -0700
Re: Problem with the "for" loop syntax Arturo B <a7xrturodev@gmail.com> - 2013-06-19 18:02 -0700
Re: Problem with the "for" loop syntax Chris Angelico <rosuav@gmail.com> - 2013-06-20 11:09 +1000
csiph-web