Skip to content

Instantly share code, notes, and snippets.

View mtparagon5's full-sized avatar

Matthew Thomas mtparagon5

  • Atlanta, GA
View GitHub Profile
@mtparagon5
mtparagon5 / gist:1b049f27ff63859a4a0441352dcb1e4c
Created November 21, 2017 04:15
Unit_01_Lesson01_Assignment01
# creating a list of fibonacci numbers (capped at 20)
# adds the two previous numbers to equal the next
def get_fib_list_length():
return 20
def generate_fib(num):
result = []
for n in range(num):
if n == 0: