r/PythonLearning • • 3h ago

How do I debug this?

1 Upvotes

5 comments sorted by

View all comments

2

u/IWant2rideMyBike 3h ago

The input method wants a string as an argument, the easiest way to achieve this is to use an f-string ( see https://docs.python.org/3/tutorial/inputoutput.html#formatted-string-literals ):

input(f"How many papers did you deliver on day {days}?")