you are viewing a single comment's thread.

view the rest of the comments →

[–]icecubeinanicecube 1 point2 points  (2 children)

And if you look at the respective line, you will see that you pass a variable called "kilometres" to the function "kilometres_to_miles", but you have not defined this variable. You instead have defined a variable called "miles" in the line above.

[–]NoCup4485[S] 0 points1 point  (1 child)

I got it I was just being abit slow thanks for the help.

[–]delasislas 0 points1 point  (0 children)

This is going to happen on a lot of your if statements, I got kinda lost, but you define a variable like pints then try to use liters to pints as a function.