Taken task based approach for Session 3, day 1.
Removed introduction to dictionaries slide and accommodated the same
content while solving the problem.
def linspace(a, b, N): lns = [] step = (float(b) - float(a)) / float(N - 1) print step for i in range(N): lns.append(a + i*step) return lnsprint linspace(0, 5, 11)