# -*- coding:utf-8 -*- class Solution: def rectCover(self, number): # write code here if number<4: return number a,b=2,3 for i in range(4,number+1): ans=a+b a,b=b,ans return ans
# -*- coding:utf-8 -*- class Solution: def rectCover(self, number): # write code here if number<4: return number a,b=2,3 for i in range(4,number+1): ans=a+b a,b=b,ans return ans