The rules for the valid driver license are:
Examples:
K1234-56789-12345 Kortsarts
VALID
A1234-12345-12345 Kortsarts
Not Valid
A1234567890-12345 Abba
Not Valid
K1234-56789-12345 kortsarts
VALID
k1234-56789-12345 Kortsarts
Not Valid
Write main to test your function.
For example:
price_before_ship=[100, 25, 30, 40, 50]
ship_limit=[99, 25, 35, 45, 10]
ship_charge=[3, 4, 10, 3, 10]
Output:
total_price=[100, 25,40, 43, 50]
Use function make_list(size, min_limit, max_limit) - to randomly generate lists of integers
Write main that asks user to enter the number of purchases. The program then randomly gerenates 3 lists of integers: list of purchase amounts before shipping, list of free shipping limits, and list of shipping charges. The program prints a new list with total purchase amounts including shipping.