0
** en python.0**0 cuanto da?
8 odpowiedzi
+ 3
Here's a good read about the topic.
Seems it's not all that clear cut.
https://en.m.wikipedia.org/wiki/Zero_to_the_power_of_zero
+ 1
cualquier número en el grado cero da 1
0
bien 1
0
I don't know why 0**0 = 1, but if you wonder why 0**0 = 1, but 0/0 != 1, for that I have an answer:
a / b = c
means:
b * c = a
Thus 0/0 = x
means
x * 0 = 0
But no matter which value x is, this would be true.
Result of 0/0 can be any value, it can be 10, it can be banana, this makes 0/0 quite useless and program does not know what programmer means with this and raises an error.
I don't know why 0**0 = 1.
0
0/0!=0 because 0!=1.
0
Cualquier número x elevado a la cero por definición es 1 si x!=0.
0
Enrique 0/0 is undefined, not necessarily 1.
8 / 2 = 4 <=> 2 * 4 = 8
15 / 3 = 5 <=> 3 * 5 = 15
0 / 0 = R <=> R * 0 = 0
R can be any number.
It could be 1, because 1 * 0 = 0, but not necessarily.
0
Ok. 0/0 is undefined
But factorial of 0 is 1,then
0/fact(0)= 0