How to give own inputs


What if i want to give my own inputs. i tried like this
Check if my code is totally wrong

Error is :


last line, trip_cost should be a function to call the function you need to use parentheses:


between the parentheses supply arguments to satisfy the parameters

when using raw_input(), and the user needs to input a number don't forget to cast the number to integer (raw_input stores the result as string)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.