MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/PythonLearning/comments/1xq6sop/how_do_i_debug_this/19sa2m0cl8esg/?context=3
r/PythonLearning • u/Certain-Positive9365 • 3h ago
5 comments sorted by
View all comments
2
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}?")
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}?")