Python

Functions – Python Like a Pro #9

Functions are a programmer’s means of fulfilling the Don’t Repeat Yourself (DRY) principle, arguably the golden rule of programming. Functions allow us to write a piece of code once and use it multiple times in a piece of code with a single-line reference, a process called abstraction. In addition, we can use arguments to take in values and objects to use in the function, and return statements to bring objects back to the main body code. In Python’s object-oriented landscape, even the functions themselves are objects!

Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: https://amzn.to/2MyGVCl

My Patreon supporters for more than $5 for the month of August were: Louson and Jeffrey Jahja. Thank you very much!

My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: https://www.patreon.com/builderdude35

Special thanks to my friend Preston Nichols for designing Builderdude35’s introduction and logo!