0
Why 0^0 is valid in python ?
I just got challenged by solo learn and there was 0**0 in a try block I thought it will raise an exception but I was wrong. Is this same for every other compiler? Is there any other language out there having the same property.
3 Answers
+ 1
0**0 is 1. It's a math feature đ
+ 1
Anything to the power of 0 is 1...even 0đđ
0
Try that on your scientific calculator then