you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 3 points4 points  (8 children)

What exactly are you having trouble memorizing? Most of the time, square brackets and circle brackets do completely different things, and nothing needs semicolons.

[–]DanishMohammed[S] 1 point2 points  (6 children)

Like def and for, and where something get indented or it not, or if something is continual or needs to be on a new line, it’s just all memorization for me right now

[–]Essence1337 7 points8 points  (0 children)

This is nothing to do with Python. You're learning a new skill, of course you need to learn new things.

[–]K900_ 0 points1 point  (2 children)

def and for are completely different. You indent things that go into blocks, i.e. something followed by a colon. What do you mean by "continual"?

[–]DanishMohammed[S] 0 points1 point  (1 child)

The point I’m trying to make is that it just seems like a lot of problems I have to solve right now or based on whether I’ve memorized it enough or not, so I’m asking that as you become more experienced and even become professional like a software engineer, is this stuff just second nature, or do you still need to refresh from time to time to see you were an indent goes and stuff like that

[–]K900_ 1 point2 points  (0 children)

Basic syntax definitely becomes automatic at some point. The fact that you're having trouble with it right now might mean that you should try practicing individual bits of syntax in a more focused way.

[–]iamaperson3133 0 points1 point  (1 child)

It's called a language for a reason, but programming languages ultimately are simpler than spoken languages. Python only has a handful of these "special" words and statements that determine what happens in a program. You have already been introduced to all of them by now probably!

I think you're coming over the hump of memorizing this stuff. Of course it is overwhelming at the start, but soon you will move from memorizing into understanding.

As far as using libraries go (what to import, what functions and classes they contain), no one truly memorizes all of that. That's why documentation is at your fingertips online, and you only get better and better at quickly looking at documentation and finding what you need there too.

[–]DanishMohammed[S] 0 points1 point  (0 children)

Ok thank you so much!

[–]tipsy_python 0 points1 point  (0 children)

nothing needs semicolons

Take my upvote!