I am carrying out a program that allows calculating the taxes that a car must pay, knowing its model (year of manufacture) and type (P: Private / T: Taxi / R: Remis). To calculate taxes, keep in mind that:
a. Private cars less than 10 years old pay $ 200, between 10 and 20 years pay $ 150 and do not pay taxes those who are over 20 years old.
b. Taxis pay taxes as a private car, plus $ 150 for the taxi license.
c. Remises pay $ 100 for each year of their vehicle's seniority.
For this I need to obtain the age of the vehicle from its year of manufacture
what is the way to handle dates in python?