I have tried multiple ways to compute the total cost but it still isn't accepting my work.
Code:
Author:
Compute the total cost of video rental.
1. Significant constants
cost of new videos
cost of oldies
2. The inputs are
number of new videos
number of new oldies
3. Computations:
total cost = number of new videos * 3.00 + number of oldies * 2.00
4. The outputs are
the total cost
"""
# Request the inputs
a=int(input("Enter the number of new videos: "))
b=int(input("Enter the number of oldies: "))
# Compute the cost
New= a*3.00
Oldies = b*2.00
#Display the total cost
print("The total cost is $",New+Oldies)```
