Returning true


#1

https://www.codecademy.com/courses/learn-python/lessons/taking-a-vacation/exercises/before-we-begin?action=resume_content_item

what is the point of returning true here? What does it mean by returning true for the bigger value?


#2

Comment out or remove the return statement and run the code again.

42
None

That is the only difference, but may not be a usable result. True is at least an indication that the function ran.


#3

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