My code prints multiple times

https://www.codecademy.com/courses/learn-python-3/projects/python-carlys-clippers

I know that I probably should’ve asked this question way before I got this far, but after watching the tutorial video for this project I noticed the instructors code only prints one time and overall looks much cleaner. Every iteration of my code is displayed. Not sure if I’m explaining correctly, but if you understand what I mean I’d love to get some help.

1 Like

You’d have to unindent the two print statements and the average_daily_revenue.
Since those are indented, Python still thinks those lines are put of your for loop.
On step 10, it says “After your loop…” meaning that the loop was over. :stuck_out_tongue:

1 Like

Makes sense, thanks!

1 Like

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.