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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!