print( 9 ** (1/2) ) | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

print( 9 ** (1/2) )

How calculate float in exponentiation

6th Jan 2021, 10:39 AM
nive
2 Réponses
+ 3
nivi , your expression will evaluate to: print(8 **1/3) # 2.666 but i think you mean this: (cube root) print(8**(1/3)) # 2.0
6th Jan 2021, 1:59 PM
Lothar
Lothar - avatar
0
8 **1/3
6th Jan 2021, 1:00 PM
nive