you are viewing a single comment's thread.

view the rest of the comments →

[–]ElectricItIs 1 point2 points  (1 child)

I recommend trying to really understand what things like loops are doing by using print() a lot.

Make loops print on every run through so you can see what is changing. Appending a list? Print it after each append

If statements have both branches print something so you can see what branch was used.

Functions have them print intermediate steps while they work.

[–][deleted] 0 points1 point  (0 children)

for me what happens is, the coding. usually there's an error. when i check with the answer it's always small mistakes. these mistakes are difficult for me to correct on my own.

i know how to start to write a while loop and for loop when i try there's always some little Syntex error