Methods (Python Style)

A Jeroo program must contain a main section, and usually contains several user-defined Jeroo methods

Main Section

Every Jeroo program must include a main section. Code for the main section is written in the main tab of the editor, and must have the following form.


#-- declare and instantiate all Jeroos

#-- use the Jeroos to solve the problem


User-Defined Jeroo Methods

A Jeroo program can have any number of user-defined Jeroo methods.

def identifier(self):

    #-- body of the method (indented)