Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def getDate (userGeboortedatum):
- dag = userGeboortedatum(0, 1)
- maand = userGeboortedatum(3, 4)
- jaar = userGeboortedatum(6, 9)
- geboortedatum = (jaar, maand, dag)
- print(geboortedatum)
- userGeboortedatum = (input("Enter your date of birth (dd-mm-yyyy) : "))
- userGeboortedatumFunctie = getDate(userGeboortedatum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement