Exponentials in python: x**y vs math.pow(x, y)
Exponentials in python: x**y vs math.pow(x, y) Question: Which one is more efficient using math.pow or the ** operator? When should I use one over the other? So far I know that x**y can return an int or a float if you use a decimal the function pow will return a float import math print( …
Total answers: 7