+ 7
How to declare veriable in python
3 odpowiedzi
+ 8
a = "Hello"
b = "World"
+ 7
with the help of these wecan declare a veriable like these a=spam
b=eggs
+ 3
there is no declairation of variable in python...
initialisation includes declairisation...
like...
in c----->
int a;
a=5;
is equivalent to..
in python------->
a=5
but when you are doing global declairisation in a function of python ...then u need to declair first then initialise...
like....
global a
a=5