`from math import factorial as f`

`class Solution:`

`def getRow(self, A):`

`return [int(f(A)/(f(i)*f(A-i))) for i in range(A+1)]`

`from math import factorial as f`

`class Solution:`

`def getRow(self, A):`

`return [int(f(A)/(f(i)*f(A-i))) for i in range(A+1)]`