+ 2

Type in Python

-1**-1=1.0 why float?

30th Mar 2021, 5:39 AM
Sanjay Kamath
Sanjay Kamath - avatar
2 ответов
+ 5
Sanjay Kamath And when you divide then always comes float.
30th Mar 2021, 5:48 AM
A͢J
A͢J - avatar
+ 5
Because a**-1 its like 1/a¹
30th Mar 2021, 5:47 AM
Илья Мирошник
Илья Мирошник - avatar