The person who will give the correct answer will be followed and his/her 20 ans will be thanked
pls write the program in Python and give the output also if possible
U can also send the screen short ;)
DON'T SPAM
Attachments:
Answers
Answered by
0
Code:
# sanjay270899
distance = float(input())
if(distance <= 50):
fare = distance*20
else:
fare = 1000
remaining_distance = distance-50
fare = fare + remaining_distance*25
total_fare = fare + fare*0.15;
print(total_fare)
Similar questions