Plan Your trip! Need help


#1

Final line (line 21)
error "Oops, try again! It looks like nothing printed to the console.


#2

the function call should be outside/after the function, given the function call executes the function


#3

What error says..

Final line (line 21)
error "Oops, try again! It looks like nothing printed to the console.

Lets look at line 21, You see the print statement is inside the trip_cost() function ?because it has same indentation as other code lines of trip_cost() function .

This print block should be on 0-indentation.


#4

Thanks, you've saved my lif!. 2 days trying to figure out what was wrong!


#5

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