Sep-15-2017, 10:09 PM
(This post was last modified: Sep-15-2017, 10:23 PM by sparkz_alot.)
this is my code but for some reason the colons and print always gives a syntax error, des anyone know why?
y syntax errors?
|
Sep-15-2017, 10:09 PM
(This post was last modified: Sep-15-2017, 10:23 PM by sparkz_alot.)
this is my code but for some reason the colons and print always gives a syntax error, des anyone know why?
Sep-15-2017, 11:35 PM
You probably missed a close-parenthesis on a line before the one you were having an issue with.
Sep-16-2017, 12:12 PM
(This post was last modified: Sep-16-2017, 12:13 PM by Saxycool12345.)
Sep-16-2017, 01:24 PM
It is not the location of the post, rather the manner in which you post. Specifically, you are simply pasting text and not using the code tags as required and explained in the sites Help document. Failure to use the tags makes your code difficult to read and follow since there is, at a minimum, no indentation. This leads the reader to think you did not include any or that the reader is expected to know where you intended to put it. The Admins have done a great job of making the posting of code, errors, quotes etc as easy as possible by adding the tag buttons to the editor bar. So kindly use them.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch" Python 3.6.5, IDE: PyCharm 2018 Community Edition |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Syntax errors: Struggling to setup enviroment and load packages | AH56 | 5 | 3,831 |
Jun-30-2021, 01:01 PM Last Post: AH56 |
|
Pip Syntax Errors in CMD: Windows 10 and Python 3.8.1 | jamesphopper | 2 | 5,818 |
Feb-08-2020, 07:21 PM Last Post: jamesphopper |
|
Mysterious syntax errors... help? | friendlymegalomaniac | 3 | 3,693 |
Apr-26-2018, 09:22 PM Last Post: micseydel |
|
random syntax errors | s4lty_b0i | 3 | 3,918 |
Nov-26-2017, 03:45 PM Last Post: heiner55 |
|
Decorator toy code throws syntax errors | kevinxhi | 3 | 4,414 |
Sep-04-2017, 03:01 AM Last Post: kevinxhi |
|
Syntax errors | jon65 | 22 | 23,154 |
Aug-20-2017, 01:26 PM Last Post: jon65 |