xxxxxxxxxx
Simple terms: a variable is a box that you can put stuff in it such as
strings int booleans
xxxxxxxxxx
variable1 = "value" # string
variable2 = 1000000 # integer
variable3 = 10000.0 # real/float
variable4 = True # boolean: True or False
xxxxxxxxxx
# plz suscribe to my youtube channel -->
# https://www.youtube.com/channel/UC-sfqidn2fKZslHWnm5qe-A
my_name = "your name here "# you can add perenthisis
print(my_name)
xxxxxxxxxx
# Variables in Python are used to store some data in it and use it over and
# over again
# Variables can store Strings, Integers, Floats, Booleans
var_string = "Hello World!"
var_integer = 1234567890 # any number
var_float = 3.14159 # any number with decimal value
var_boolean = True # True or False
xxxxxxxxxx
#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"
xxxxxxxxxx
#Variables
#Name your variable
myvar = 'Variable'
Number = 9
print(myvar, Number, 'are the variables I made')