Untitled

 avatar
user_0321856
plain_text
5 months ago
417 B
3
Indexable
print("                              Invoice")
print("SUB: bus fare for Hyderabad ")
print("Bus details:TS08HH4957;AS Rao nagar to JBS                Govt: TSRTC")
print("..................................................................... ")
age=int(input("Please enter your age: "))
busfare= 4.25
print("Bus fare = 4.25")
if age<5:
    busfare=0
if age>60:
    busfare=busfare-1
print("Final price: "+ str(busfare)
Editor is loading...
Leave a Comment