0

Can someone help me in correcting this error?

it's on line 9 . related to power function https://code.sololearn.com/cHsHdwtkVeng/?ref=app

4th Sep 2018, 5:08 PM
Jinyoongisaranghe
Jinyoongisaranghe - avatar
1 Respuesta
+ 3
You have to cast the result of math.pow to integer. Just put (int) in front of math.pow
4th Sep 2018, 5:25 PM
P.W.R.
P.W.R. - avatar