Question: How to solve this question in python ? Back in January (of this year), January 20th to be exact, we had a 'palindrome date': 1-20-2021.
How to solve this question in python ?

Back in January (of this year), January 20th to be exact, we had a 'palindrome date': 1-20-2021. The sequence of digits '1202021' can be read and produce the same string when they are read from either the beginning or the end. Write a Python code snippet to list all palindrome dates within the current millennium: From: 01-01-2001 To: 12-31-3000 You should check the 'MM-DD-YYYY' format only. The output also should be in this format: MM-DD-YYYY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
