Computer Science, asked by dchandanrajput, 11 months ago

Jack and his three friends have decided to go for a trip by sharing the expenses of the fuel equally.

Write a Python program to calculate the amount (in Rs) each of them need to put in for the complete (both to and fro) journey.
The program should also display True, if the amount to be paid by each person is divisible by 5, otherwise it should display False. (Hint: Use the relational operators in print statement.)

Assume that mileage of the vehicle, amount per litre of fuel and distance for one way are given.

Test your code by using the given sample inputs.
Verify your code by using the 2nd sample input(highlighted) given below:

Sample Input Expected Output
Mileage of the vehicle (km/litre of fuel) Amount per litre of fuel (Rs) Distance for one way (kms)
12 65 96 260.0
True
12 40 190

Answers

Answered by carryminati353
5

Answer:

hilarious , I have a look at the moment, but I think I have a 6th may be able to get the best way to

Similar questions