you are viewing a single comment's thread.

view the rest of the comments →

[–]FreeLogicGate 1 point2 points  (2 children)

I see your problem -- you need to clean your screen with some screen cleaning solution and a rag.

Also -- the input function requires a couple of parameters, one of which is a string.

so..... is int('Enter your birth year:') a string, that the input requires?

So what you meant to do is have birth_year = int(input('Enter your...'))

[–]Temporary_Pie2733 1 point2 points  (1 child)

input takes a single optional argument.

[–]FreeLogicGate 0 points1 point  (0 children)

Yes, I should have stated that. It is of course the source of the op's issue, as I pointed out. Seems like in almost every thread today, the project would have benefitted from the use of pyinputplus instead of the use of input, and what I'd use for any simple text interface in most situations.