Python Forum
Could someone please help walk me through my home work - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Homework (https://python-forum.io/forum-9.html)
+--- Thread: Could someone please help walk me through my home work (/thread-9128.html)



Could someone please help walk me through my home work - tetoronga - Mar-22-2018

Write a program that will convert litres per 100km (l/100km) to mpg. The output should show conversions using iteration from a user defined start and end figure using a step value of 1 litre per 100km.
Please use these conversion figures that are accurate to 2 decimal places:
i. 1 mile = 1.61 km
ii. 1 imperial gallon = 4.55 litres


https://ibb.co/gmz9FH

that is a link to a screenshot of my home work to get a full explanation. thanks to anyone willing to help me


RE: Could someone please help walk me through my home work - j.crater - Mar-22-2018

Here we help people with their Python challenges or questions, not write code or do homeworks.

You are welcome to post your coding attempt to solve this problem (in Python code tags) and full error traceback (in error tags) if you get an error. If the result you get is not as desired, post expected and actual results too. Then we can point you in the right direction.


RE: Could someone please help walk me through my home work - DeaD_EyE - Mar-22-2018

No Code, no help.
This board is not here to solve simple math equations.


RE: Could someone please help walk me through my home work - nilamo - Mar-22-2018

Quote:Could someone please help walk me through my home work
Sure. Step 1, is to start.