https://github.com/gakurualex/vanity_plates
A python program solving CS50's Intro to Programming with Python, Loops Problem set on vanity plates
https://github.com/gakurualex/vanity_plates
listcomprehensions loops pytest
Last synced: 3 months ago
JSON representation
A python program solving CS50's Intro to Programming with Python, Loops Problem set on vanity plates
- Host: GitHub
- URL: https://github.com/gakurualex/vanity_plates
- Owner: GakuruAlex
- Created: 2024-11-25T09:49:31.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T10:56:54.000Z (6 months ago)
- Last Synced: 2025-01-26T12:43:08.264Z (4 months ago)
- Topics: listcomprehensions, loops, pytest
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vanity Plates #
In Massachusetts, home to Harvard University, it’s possible to request a vanity license plate for your car, with your choice of letters and numbers instead of random ones.
Requirements are:
1)“All vanity plates must start with at least two letters.”
2)“… vanity plates may contain a maximum of 6 characters (letters or numbers) and a minimum of 2 characters.”
3)“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’.”
4)“No periods, spaces, or punctuation marks are allowed.”