Fibonacci Series List Comphresion w Python
n=10
mylist=[0,1]
[mylist.append(mylist[-2]+mylist[-1]) for n in range(n)]
print(mylist)
Cooperative Chipmunk
n=10
mylist=[0,1]
[mylist.append(mylist[-2]+mylist[-1]) for n in range(n)]
print(mylist)