+ 1

Whenever I code the syntax is right but I keep forgetting things like colons and commas how can I remember them

14th Aug 2019, 4:02 PM
Hansel
3 Respuestas
+ 3
When I started with Python, I forgot closing parentheses all the time - or I wrote too many. Also it sometimes took me a while to find them, because the lines looked confusing and the error messages pointed to the wrong places. That has almost disappeared. Even if I make a mistake like that, I quickly find the reason. So yeah, it's just training. Write more code! 🙂
14th Aug 2019, 4:19 PM
HonFu
HonFu - avatar
+ 2
By coding more and more, your fingers will start typing them on their own in no time, it only takes few hours to get used to them
14th Aug 2019, 4:12 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
I find it helpful that where i am having trouble remembering, especially the syntax of a language, I find it helpful to practice on paper rather than just typing out on the console. When you understand the logic of the code and how it works, you really know what the output will be , but you just have trouble remembering the coma, parenthesis or semicolon, it's then very helpful the practice on paper, the reason why, is because when you use your fingers to write, you use a lot more muscle in your hand and it builds a stronger reference in your brain which make it harder to forget.
15th Aug 2019, 2:44 PM
wilson vivas
wilson vivas - avatar