Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 13951

AttributeError: module 'numpy' has no attribute 'long'

$
0
0

I am trying to find 9 raise to power 19 using numpy.

I am using numpy 1.24.3

This is the code I am trying:

import numpy as npnp.long(9**19)

This is the error I am getting:

AttributeError: module 'numpy' has no attribute 'long'

Viewing all articles
Browse latest Browse all 13951

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>