The last day of week 3 of VIVO Energy/ABCDE VE-STEM class began with a recap of what was discussed during the previous session, which was on what variables are, how to create variables and how to comment in python.
The students then proceeded to the day’s lesson, which was on functions. Participants learned the rules involved in defining a function, how to call a function and how they are required to perform.
Next the class was engaged in a series of exercises where they defined a function first in their exercises books and then later in the Integrated development environment (IDE). An integrated development environment (IDE) is software for building applications that combines common developer tools into a single graphical user interface (GUI).
Students also called the function and observed it run in the console area. The exercise required the class to create a variable that was essential for them to input a value which was later saved in the variable and then they called a function that displayed the value input that was saved in the variable.
Finally, the class was given an assignment to do during the week before the next session.