On Oct 12, 2014 9:52 AM, "William Becerra" <[email protected]> wrote: > > Hello, I'm new to programming. I'm using Python 2.7.8 and Windows 8 OS > I was making an application to see if I understand how the return statement works > I want my application to compare x and y and return either 1, -1 or 0. > I'm using IDLE
The return statement is intimately tied to functions: look for tutorial content about functions. For example: http://www.greenteapress.com/thinkpython/html/thinkpython004.html If you have questions, please feel free to ask.
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
