Post a New Question

Computers

posted by on .

In Python - A state creates license plates, each containing two letters followed by three digits. The first letter must be a vowel (A,E,I,O,U), and duplicate letters and digits are allowed. The second letter can be any letter of the alphabet. The state only uses capital letters. A sample license plate is: IS-030.
How many different license plates are possible? Have Python answer this question using multiplication and then list on the screen in one column all the possible license plates.
AA-000
AA-001
AA-002, etc.

  • Computers - ,

    This is the part that will calculate the total number of license plates possible.

    def main():

    num_of_poss_plates = 5*26*10*10*10
    print('The number of possible plates are: ', num_of_poss_plates)

    main()

  • Computers - ,

    Do not have Python.

    5 * 5 * 10 * 10* 10 = ?

  • Computers (Oooops) - ,

    You are right. I did not read the question carefully enough.

  • Computers - ,

    It says to list all possible license plates, not the total number.

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question