import numpy as np
n2=np.zeros((5,5))
error=
Traceback (most recent call last):
  File "f:\Python Program\numpy.py", line 1, in <module>
    import numpy as np
  File "f:\Python Program\numpy.py", line 2, in <module>
    n1= np.zeros((3,3))
AttributeError: partially initialized module 'numpy' has no attribute 'zeros' (most likely due to a circular import)
            Asked
            
        
        
            Active
            
        
            Viewed 42 times
        
    -2
            
            
         
    
    
        MisterMiyagi
        
- 44,374
- 10
- 104
- 119
- 
                    1Don't call your script the same as your libraries! – MisterMiyagi Jan 03 '22 at 13:03
 
    