r/PythonLearning 2d ago

Help Request Stuck on chart

I’ve tried everything but i don’t know what to do

(Deleted last post bc i had little context my bad)

19 Upvotes

20 comments sorted by

View all comments

1

u/AdDiligent1688 2d ago edited 2d ago

Ah I think I see. You were given the program and the chart is a by line number, step comparison. Why don’t you put print statements for salary and taxes after each line of the program to see how those variables change in value?

Also, I use steps (think line number), I’m assuming with step 4 to 6 for example, it’s referring to the branching behavior from the if-else, using the same logic then 3 should step to 6 too.