Category Archives: Python
Functions in Python
Functions have notoriously been a difficult concept to grasp for me as a self-taught “developer”. So, In order for me to better understand how functions… ummm… function(?), I’ll try my best to explain how I think functions process information. Here’s the “How to change a tire” program I’m going to use to explain the process:…
The Fibonacci Sequence in Python
The Fibonacci Sequence. For those that don’t know what it is, it’s a sequence of numbers where you start with the number 1, duplicate it, then add the 2 previous numbers together to make the third. for example: 1+1=2, so the first 3 digits of the sequence are 1, 1, 2. There are a lot…