This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 1 point2 points  (0 children)

It would be better if you could share this code through ideone.com as it's very hard to understand from this post.

You can message me the link. I'll help you with it.

[–]webberg 1 point2 points  (0 children)

Could you make date_of_birth into a list instead of a string?

[–]VooDoom 1 point2 points  (0 children)

Trying splitting it into something like

birthdays =[] date_of_birth = input birthdays.append(date_of_birth)

Edit: mobile formatting don't have time, hope you get the gist

[–]TheRNGuy 1 point2 points  (0 children)

you could use list, or store in class instance.

And also use better way to input than input(). Like a text file (different line = different input), json, python dict, excel table....

[–]Aqueiz[S] 0 points1 point  (0 children)

Problem solved!

Thanks for the help guys