Question: in python please Given the day, month and year of one date in variables d1,m1 and y1 respectively where all of these are numbers (for
Given the day, month and year of one date in variables d1,m1 and y1 respectively where all of these are numbers (for example, d1=20,m1=12,y1=2022 ), and similarly of another date in variables d2, m2 and y2 respectively. The months are represented by their numerical values, 1 for January, 2 for February, etc. Assume that both the dates are valid dates. Write code to print which date comes earlier - first date or the second date. In case they are exactly the same date then the code should print that the two dates are the same
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
