How to use numpy power function in Python

1 Answer

0 votes
import numpy as np

print(np.power(2, 8))

print(np.power(2, 64, dtype=np.float64))
  
      
      
  
'''
run:
  
256
1.8446744073709552e+19

'''

 



answered Feb 24, 2023 by avibootz
...