← The arcade

Decoders · difficulty 2 of 3

VIN decoder 🚗

Decode a 17-character Vehicle Identification Number: print the manufacturer code (first 3 characters), the model year from position 10, and whether the check digit at position 9 is valid.

Write it in the browser and press run. Real Python, checked against the expected output, no account needed.

Skills: strings, dicts, regex

Open the arcade