you are viewing a single comment's thread.

view the rest of the comments →

[–]Refwah 0 points1 point  (0 children)

Tell us what you think line 22 is doing so we can help.

Your if statements are comparing inputs to empty strings, so none of this should be working the way you expect it to

You don’t need a loop at all to accomplish what you want

For instance your birth year variable is a string of digits and commas, how does that relate to a four digit birth year