Source Code
Source Code
Counter1 = 0
Counter2 = 0
Counter3 = 0
Counter4 = 0
Counter5 = 0
Counter6 = 0
Counter7 = 0
Counter8 = 0
Counter9 = 0
Toll_Fees = 0
TotalDue = 0
Flat_Fee = 1000
Entry_Cost = 100
Entry_Rate = 1.5
DiscountRate1 = 0.12
DiscountRate2 = 0.05
print()
print()
print('----------------------------------------------------------------------------------')
print('----------------------------------------------------------------------------------')
print(
print()
Entries = int(input('Enter the number of entries counted for the bus: '))
print()
print()
print('----------------------------------------------------------------------')
print('----------------------------------------------------------------------')
print()
Terminal_Zone = input('Select the name of the Bus zone by entering the numbers 1-9. ')
if int(Terminal_Zone) == 1:
Counter1 = Counter1 + 1
elif int(Terminal_Zone) == 2:
Counter2 = Counter2 + 1
elif int(Terminal_Zone) == 3:
Counter3 = Counter3 + 1
elif int(Terminal_Zone) == 4:
Counter4 = Counter4 + 1
elif int(Terminal_Zone) == 5:
Counter5 = Counter5 + 1
elif int(Terminal_Zone) == 6:
Counter6 = Counter6 + 1
elif int(Terminal_Zone) == 7:
Counter7 = Counter7 + 1
elif int(Terminal_Zone) == 8:
Counter8 = Counter8 + 1
elif int(Terminal_Zone) == 9:
Counter9 = Counter9 + 1
print()
print()
print('-------------------------------------------------------------------------------')
print(' The Number 1 represents ........ The Bus capacity: 15 and entries made: >=150')
print(' The Number 2 represents ........ The Bus capacity: 50 and entries made: >=150')
print(' The Number 3 represents ........ The Bus capacity: 15 and entries made: < 150')
print(' The Number 4 represents ........ The Bus capacity: 50 and entries made: < 150')
print('-------------------------------------------------------------------------------')
Entry_Capacity = int(input('Choose the capacity & entry range by entering the nos. 1 - 4:
'))
if int(Entry_Capacity) == 1:
print('----------------------------------------------------------------------')
print('----------------------------------------------------------------------')
if int(Entry_Capacity) == 2:
print('----------------------------------------------------------------------')
print('----------------------------------------------------------------------')
elif int(Entry_Capacity) == 3:
print('----------------------------------------------------------------------')
print('----------------------------------------------------------------------')
elif int(Entry_Capacity) == 4:
print('----------------------------------------------------------------------')
print('----------------------------------------------------------------------')
print('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^')
print('^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^')
print()