I tried a numpy code in vscode and it shows no output. i checked my code twice but still can’t fina a proble. The same code is running in python’s own IDE. could someone pls tell what’s wrong?
the code is as follows
import numpy as n
print(n.__version__)
x=n.array([1,5,2,9,7])
print(x)
print(type(x))

I tried this code and got no output.
>Solution :
The code functions correctly; the issue you’re experiencing may be due to not saving your files. I executed the same code in online compilers, and it ran successfully.
