= input("please enter vehicle (car, bike, van or plane)")

if vehicle =="car":
    rate = 2.50
    maxrate = 15.00
elif vehicle == "bike":
    rate = 1.00
    maxrate = 6.00
elif vehicle == "van":
    rate = 4.00
    maxrate = 25.00
elif vehicle == "plane":
    rate = 100.00
    maxrate = 10000.00
 
else:
    print("vehicle invalid please type again")
    exit()
#part b
typeofday = input("is it weekend or weekday: ")

if typeofday == "weekend":
    rate = rate * 1.2
elif typeofday != "weekday":
    print("invalid day type")
    exit()
#end of part b

hours = float(input("please input hours parked: "))
if hours <= 0:
    print("ERROR hours MUST be greater than 0")
    exit()




#part c validation 

if hours < 1 or hours > 72:
    print("Strange hours detected")