a=input("congrats! UBER app is loged in successfully")
location=input("enter the current location:")
s=int(input("enter the starting km:"))
e=int(input("enter the ending km:"))
distance_travelled=e-s
cost_per_km=distance_travelled*10
print("cost of your travelled distance is:",cost_per_km)
cab_types=['mini','micro','macro','share','prime']
print(cab_types)
cab=input("choose your cab:")
if 'mini' in cab_types:
   mini_cost=distance_travelled*10
   print("mini cab costprice is:",mini_cost)
elif 'micro' in cab_types:
   micro_cost=distance_travelled*20
   print("micro cab costprice is:",micro_cost)
elif  'macro' in cab_types:
   macro_cost=distance_travelled*30
   print("macro cab costprice is:",macro_cost)
elif 'share' in cab_types:
   share_cost=distance_travelled*40
   print("sharing cab costprice is:",share_cost)
elif 'prime' in cab_types:
    prime_cost=distance_travelled*50
    print("prime cab costprice is:",prime_cost)
else:
   print("sorry! Right now no cab is available in your location")


