I have an assignment that demands to have a global function .
I know how to do function within classes , but have no clue about global ones.
If my global function needs to get as parameters two variables of "myClass" type
(assume that myClass is an object that I have created)
maybe something like this : ???
def myGlobalFunction(param1,param2): ... ... # rest of the code