OneCompiler

python

275

Write a python program designed for Fare Matrix.

Sample Output:

Fare Matrix

P8.00 for first 5kilometers.

This is the discount if user input the letter

"""

D- Disabled P0.50

E - Senior P0.75

S – Student P1.00

""""

This is the output:

Enter kilometer: 24

Enter passenger type: E

Your fare is: 22.25