+ 1

Why is line 11 = 1? I feel like I'm missing some math rule...

https://code.sololearn.com/cKMykOhd8qvE/?ref=app

5th Feb 2020, 4:12 AM
Dina Stendig
Dina Stendig - avatar
4 Answers
+ 3
negative 1 to an even power is positive 1. For example, (-2)*(-2)=+4
5th Feb 2020, 4:20 AM
Gordon
Gordon - avatar
+ 1
Any number? It's * a 6 digit #...
5th Feb 2020, 4:25 AM
Dina Stendig
Dina Stendig - avatar
+ 1
6 to the power of 7 is a 6 digit even number.
5th Feb 2020, 5:49 AM
Sonic
Sonic - avatar
+ 1
w(-1) raised to this large even power gives +1.
5th Feb 2020, 5:50 AM
Sonic
Sonic - avatar