I have the code for plates.py with conditions:
- All vanity plates must start with at least two letters.”
- vanity plates may contain a maximum of 6 characters (letters or numbers) and a minimum of 2 characters.”
- “Numbers cannot be used in the middle of a plate; they must come at the end. For example, AAA222 would be an acceptable … vanity plate; AAA22A would not be acceptable. The first number used cannot be a ‘0’.”
- “No periods, spaces, or punctuation marks are allowed.”
My code is (https://i.sstatic.net/wiyzRUMY.png)
but for the input of 50, it showing vaild.expecting the 50 input should be invaild
New contributor
Mounika Bandla is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.