# plz suscribe to my youtube channel --># https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
my_name ="your name here "# you can add perenthisisprint(my_name)
#declaring different type of variables in python
variable1 ="value"# string
variable2 =1000000# integer
variable3 =10000.0# real/float
variable4 =True# boolean: True or False
#single name variable
name ="Your name"#recomended naming of compound or multiple names are seperated by underscore _
some_variable_name ="Name of the the variable"
#creating variable in python
a =15#it is called integer
b ='apple'#any word or number written in this "" is called string
c =False#True or False is called boolean
d =2.45#any number with point is called floatprint(a)print(b)print(c)print(d)#it will print all the values
// no need to define variables explicitly like in java or c++// we need to define them in __init__ method that creates, this i8s the key
// __init__ basically it's constructor
// instance variables for the current object self( which denotes your created instance)classA:def__init__(self,d):
self.d=d
//above automaticaaly creates an instance variable d for you classobject
hence
ob=A(4)// creates object ob with1 instance variable d initialised to 4
ALSO NOTE://in python there is no distinction between pointer variable and// normal variable we use same syntax for both unlike c++// so how python distinguishes b/w a reference and normal var?
// by seeing what is being assigned to it on RHS