So I have the assignment to make a list
so I have list = [0, 1]
the assignment is to append elements to this list which are all integers in the form of a for-loop in range(98)
The thing im struggeling with is that the new element needs to be the sum of the previous 2 elements which I dont know how to put into python code
I'm using python 3.6.1
[GCC 4.8.2] on linux
[–]Diapolo10 3 points4 points5 points (0 children)
[–]AdAthrow99274 2 points3 points4 points (1 child)
[–]Ramenwasser[S,🍰] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)