posted Mar 24, 2017, 5:37 AM by Samuel Konstantinovich
Do Now:
Write two functions:
1. makeSentence(L) Take a list of strings, and join them in one string with spaces BETWEEN the words. do not use the function join(). Assume no spaces in the strings.
makeSentence(["coding","you","must","do"]) returns:  'coding you must do'  (no space at end) 
makeSentence( [])   returns ''  (empty string)

2. makeFibList(n) takes a non-negative integer n, and returns a list of the first Fibonacci numbers up to the n'th number counting 0 as the 0th number. (do NOT use a separate fib function for this.)
makeFibList(0) returns  [0]
makeFibList(5) returns  [ 0, 1, 1, 2, 3, 5]