Nov-10-2018, 10:00 PM
If you are not allowed to use the datetime module for this assignment, you can use .split('-') to get the three parts of the date, and int() to turn those parts into integers. You'll need some conditionals to handle the last day of the month, and the .format() of strings to get the leading 0 on the output (details here).
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures