IPython CUsersrohit
IPython CUsersrohit
1413]
(c) Microsoft Corporation. All rights reserved.
C:\Users\rohit>ipython
Python 3.11.1 (tags/v3.11.1:a7a450f, Dec 6 2022, 19:58:39) [MSC v.1934 64 bit
(AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.14.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: a=10
In [2]: a
Out[2]: 10
In [3]: r=purush
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[3], line 1
----> 1 r=purush
In [4]: r=Purush
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[4], line 1
----> 1 r=Purush
In [5]: w=10
In [6]: w
Out[6]: 10
In [7]: x=np.array([1,2,3,4,5])
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[7], line 1
----> 1 x=np.array([1,2,3,4,5])
In [11]: x=np.array([1,2,3,4,5])
In [12]: x
Out[12]: array([1, 2, 3, 4, 5])