# [Go](https://go.dev), <s>53</s> 51 bytes ```go func(n int)int{p,i:=1,0 for;i<n;i++{p*=n} return p} ``` [Attempt This Online!](https://ato.pxeger.com/run?1=LY7BCoJAGITv-xQ_ndz8C02K0HwH7xGxiCs_5e-yrV3EJ-kiQQ_l27SWh2EOM_Mxr3fdjhMYVd5UXUGjiAU1prVuu9KNW4mnsqDzT-f05jgluuMyYCB20qs3SGkeYyR0azM6cUZh2Jt1zoOwlessgxmWaTFPf_xAQi_oAWkO58tM2WGCezxgHA0zCK5Ic2gV-0e-2IvC-t6dA0LQAUkpBrFwx_HvXw) * -2 by @The Thonnu: anonymous function