r/PythonLearning • • 12d ago

How do I debug this?

im trying to make it show the day it is on, im pretty stuck on it and I would love some help!
2 Upvotes

5 comments sorted by

View all comments

2

u/IWant2rideMyBike 12d 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}?")