Professional Documents
Culture Documents
Features of Python
In [ ]:
In [ ]:
Why Python?
In [7]:
1651321 + 16543213
Out[7]:
18194534
Variables
Defination - Variables are containers or entities that stores data or information.
In [ ]:
In [10]:
In [11]:
my_variable
Out[11]:
18194534
In [12]:
my_variable-1000
Out[12]:
18193534
In [13]:
a = 5
a
Out[13]:
In [14]:
id(a)
Out[14]:
140711707617200
In [17]:
B = 10
id(B)
Out[17]:
140711707617360
In [16]:
c = 5
id(c)
Out[16]:
140711707617200
In [19]:
A1 = 111
A1
Out[19]:
111
In [20]:
1A = 112
1A
1A= 112
In [21]:
A1b = 555
A1b
Out[21]:
555
In [22]:
@a = 9
@a
@a = 9
In [23]:
a b = 2020
a b
a b = 2020
In [24]:
a%b=1010
a%b
a%b=1010
In [25]:
a_b=3030
a_b
Out[25]:
3030
In [28]:
A_b
---------------------------------------------------------------------------
<ipython-input-28-4b3c8f3eba3a> in <module>
----> 1 A_b
In [26]:
class = 6
class
class = 6
In [27]:
any = 20
any
Out[27]:
20
In [29]:
x=15
x=25
x
Out[29]:
25
In [30]:
Out[30]:
In [31]:
Ram_Mote = 98
Ram_Mote
Out[31]:
98
In [32]:
Ram
Out[32]:
95
In [33]:
Mote
Out[33]:
98
In [34]:
Ram, Mote
Out[34]:
(95, 98)
In [35]:
Ram_Mote
Out[35]:
98
In [36]:
ram_mote
---------------------------------------------------------------------------
<ipython-input-36-8a3733a37bb8> in <module>
----> 1 ram_mote
In [ ]: