Question: Python how to use the simple operator in python to check if two given years in the same decade, or adjacent decades, of history. So
Python
how to use the simple operator in python to check if two given years in the same decade, or adjacent decades, of history. So if one of the movies is from the 60's and the other one is, too, that's a full match. But if one is in the 60's and the other is in the 70's or 50's, that's a half match. If beyond that, no match.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
