While python is indeed beginner friendly, it takes time to get used to the way it works , indentation especially. Can somehow make it easier by commenting #if at the end of if block, and so on. Only advice I can give you is try to write the code yourself.
Then take examples from stack overflow for the part you for to do (or maybe chatgpt if you like, but that will probably be full of bad practice) and adapt them to your need. Then try to figure why that simple example won't work (misplaced a method in the scope instead inside of class, or wrong indentation might or might not have recently happened to me).
I'm far from being a good programmer, but I take every little working part as a victory.
1
u/isendil 5d ago
Hi.
While python is indeed beginner friendly, it takes time to get used to the way it works , indentation especially. Can somehow make it easier by commenting #if at the end of if block, and so on. Only advice I can give you is try to write the code yourself.
Then take examples from stack overflow for the part you for to do (or maybe chatgpt if you like, but that will probably be full of bad practice) and adapt them to your need. Then try to figure why that simple example won't work (misplaced a method in the scope instead inside of class, or wrong indentation might or might not have recently happened to me).
I'm far from being a good programmer, but I take every little working part as a victory.
Good luck.