Understanding Python Functions
I have this Python code :
I would like to know the meaning of Self in : the function Roll. is it a parameter that needs an argument passed to it ? if so what argument was it passed to it in the above example?
I also want to understand the Return keyword. in the example above the result from variables first and second will be returned but where does it get stored ?
it should be store in the function Roll, but where ? in the Self parameter ?
Any clarification will be very much appreciated.