02.09.2018: One Lesson of Python

Today's soundtrack is Ape Rising: Ape Rising.

The fates have decreed that I shall continue working through Coding Projects in Python.

I'm now working on naming blocks of code. Once named, these blocks of code are called "functions." I've learned that there functions built into the Python editor: input(), print(), max(), min(), lower(), upper(), replace(), and reverse().

I learned how to define a function that will tell me how many seconds are in a day. I modified it to tell me how many seconds are in a year. Then I learned how to add parameters that allow me to input how many years I would like to calculate the seconds of. Finally, I learned how to use the "return value" to make a number influence a defined variable.