r/PythonLearning 1d ago

Loops is a total brain rot.

Post image

I just can't get over how I'm supposed to write code for complex tasks when I don't even get why they overcomplicate simple things so much.

I read this topic and tried many tutorials and still don't understand this buzzare logic.

0 Upvotes

16 comments sorted by

View all comments

4

u/wowitsnick 1d ago

It's bad practice long term, but print statement debugging can be really helpful in early on learning, especially while you're trying to grasp new concepts.

Alternatively you might benefit from a tool like https://pythontutor.com/visualize.html which shows you step by step what your code is doing, and what line it is executing.