r/PythonLearning • • Aug 27 '25

Help

Post image

Where is the problem

17 Upvotes

22 comments sorted by

View all comments

13

u/echols021 Aug 27 '25

Let's help you learn how to solve your own problems. You've got two main options:

  • put in more print statements to see different variables' values at different points, and get a better idea what it's actually doing

  • use your IDE to put on breakpoints and run it in debug mode, watching it run line by line, including all the variables' values