+ 1
Trouble with Python syntax ā Suggestions?
Iāve programmed in a lot of languages over the years (C, C++, Java, JavaScript, Ruby, to name a few), but Iāve had a lot of trouble adjusting to the formatting in Python ā specifically how sensitive it is to spacing. I keep getting errors when coding in Python and most of the time, itās because of that. Has anyone else had this issue? Do you have any suggestions on how to overcome this? Iād really like to overcome this issue so I can succeed in Python. Thank you for any help you can provide!
4 Answers
+ 4
It is simply something you wiil get used to.
+ 3
While I haven't as yet tried it, Intellij supports Python. They provide a command to reformat code & are really good at producing errors during typing so it is likely they would detect & highlight indention errors as you type or autoindent so you can't screw it up.
+ 3
Personally, a lot of my first languages assigned columns to purposes so I've always been a bit fanatic about consistant spacing. My Python issue is remembering the colon.
+ 1
Thank you for sharing your expertise! It seems that practice an appropriate IDE for learning are the best options. Iāll get right on it. š