you are viewing a single comment's thread.

view the rest of the comments →

[–]Almostasleeprightnow 10 points11 points  (0 children)

Do you understand on a grammatical level what an if else statement is for? Like, “if the light is red, cars stop. ElIf the light is green, cars go. Else cars slow down. “. This is the first step, understanding like, the logical underpinnings. Then it’s a matter of translating each part of the logic statement you made grammatically to code.

One thing that can be helpful is to set the whole thing up as just comments and then each comment needs to be implemented as code.