Python | easy solution
\nclass Solution:\n    def fizzBuzz(self, n: int) -> List[str]:\n        ans=[]\n        for i in range(1,n+1):\n            if((i%3==0) and (i%5==0)):\n       
```\nclass Solution:\n    def fizzBuzz(self, n: int) -> List[str]:\n        ans=[]\n        for i in range(1,n+1):\n            if((i%3==0) and (i%5==0)):\n                ans.append("FizzBuzz")\n            elif(i%3==0):\n                ans.append("Fizz")\n            elif(i%5==0):\n                ans.append("Buzz")\n            else:\n                ans.append(str(i))\n        return ans\n```\n**Space Complexity : O(N)\nTime Complexity : O(N)**
['Python']