welcome to all who want to learn coding in python. And i am trying to make it as simple as possible so that anyone can understand it, here in this class of python. we are going to learn "how to assign the value to variable", "what is operator", "how to use the operators", "how to perform simple math problem in python"
this is the programming on python.
this is the 3rd part of the tutorial.
so this we will learn to add two variable
Let's take two variable 'a' and 'b'
a=24
b=21
let's check our values.
a
24
b
21
so here we can get the same get value, we assign.
now we have to use "operators".
operators are the sign (+,-,/,) used in math.
lets take variable 'c'.
c=a+b # here we perform addition of two variable
c # as we enter 'c' we get value of a+b
45
so in same way, we can perform subtract, multi, or divide
c=a-b
c
3
c=ab
c
504
c=a/b
c
1.1428571428571428
so in this manner, we can perform add sub multiplication division.
thanks for this time we do learn more about the variable in next class.