xxxxxxxxxx
#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 float
print(a)
print(b)
print(c)
print(d)
#it will print all the values
xxxxxxxxxx
<table border="1" cellpadding="10" cellspacing="0">
<tr>
<th></th>
<th>Month</th>
<th>Rent</th>
<th colspan="2">Utilities</th><!-- This cell will span 2 columns in the row below it -->
<th>Groceries</th>
<th>Eating Out</th>
<th>Entertainment</th>
</tr>
<tr>
<td rowspan="3">Fall</td><!-- this cell will span 3 rows, June, July, & August -->
<td>June</td>
<td>$1500</td>
<td>$100</td><!-- The $100 and $50 cells will be under the Utilities cell-->
<td>$50</td>
<td>$350</td>
<td>$100</td>
<td>$50</td>
</tr>
<tr>
<td>July</td>
<td>$1500</td>
<td>$100</td>
<td>$50</td>
<td>$350</td>
<td>$100</td>
<td>$50</td>
</tr>
<tr>
<td>August</td>
<td>$1500</td>
<td>$100</td>
<td>$50</td>
<td>$350</td>
<td>$100</td>
<td>$50</td>
</tr>
</table>
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
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>