Update cars.py

The function allows you to validate your inputs and insulate your code from errors.  The INT type casting is required...

I'll leave you to finish off... note since the validation of the input limits responses to Y/N, then ELIF is not required.