Hi, I am having trouble with the follow code. I’m close but afew of my calculations are coming up wrong. My main issue is Ican’t figure out how to do the total MPG for the entire trip. Iposted this previously but whoever answered it just copy and pastedfrom another question and the code didn’t function. Thanks inadvance for any help or thoughts. In PYTHON, Write a program that computes the fuel efficiency of a multi-legjourney. Prompt for the starting odometer reading. Get information about a series of legs. For each leg, the user enters the current odometer reading andthe amount of gas used (separate by a space). The user signals the end of the trip with a blank line. The program should print or display the miles per gallon (MPG)achieved on each leg and the total MPG for the trip. . . .
https://proficientwriters.net/wp-content/uploads/2020/04/logo-300x60.png 0 0 Paul https://proficientwriters.net/wp-content/uploads/2020/04/logo-300x60.png Paul2021-05-27 09:30:062021-05-27 09:30:06Hi, I am having trouble with the follow code. I’m close but afew of my calculations are coming up wr