+ 2

Needd a litle help here

só i wanna find a way to returno a Power of a Numbers but i cant Get to work when the power is 0 https://code.sololearn.com/cabE4b1cCo5c/?ref=app

5th Feb 2018, 10:38 PM
diogo Neutel
diogo Neutel - avatar
1 Odpowiedź
+ 2
You need to change (e = 1) to (e == 1), same for 0. = is assignment operator == is equality operator
6th Feb 2018, 12:23 AM
aklex
aklex - avatar