Functions

This exercise was another difficult transition from PGYLatin due to the heavy reliance on functions which is the base of Python and its functionality. The topic of functions can be hard to implement if one doesn’t know what they’re doing in the first place and since this section takes time to learn, it makers sense how the bottom images are abundant in code. Each piece of code comes together to form a function which works together to create a process which the machine completes. Thus, I’ve witnessed how this is usually associated with math and operations. Although this is only for if and else statements, the flexibility allowed for this program goes to show how strings, booleans, variables, and functions all come together to form an operable if/else statement to predict outcomes and compute them.