class Solution:
def jumpFloor(self, number):
res = [1,1,2]
while len(res)<= number:
res.append(res[-1] + res[-2])
return res[number]
frog steps questions write in python, very simply. The hardest is how to abstarct the question into mathmatical.