Operators
PYTHON SUPPORT OPERATORS
c=a+b
output
20
-(Subtraction operator): a=10,b=10
c=a-b
output
0
/(Divide operator): a=10,b=10
c=a/b
output
1
*(Multiply operator): a=10,b=10
c=a*b
output
100
%(Modulus operator): a=10,b=10
c=a%b
output
0
- Arithmatic
- Relational or comparison
- Assignment
- Logical
- Bitwise
- Membership
- Identity
- Arithmatic Operator : This operator have +,-,*,/,%,**,//
c=a+b
output
20
-(Subtraction operator): a=10,b=10
c=a-b
output
0
/(Divide operator): a=10,b=10
c=a/b
output
1
*(Multiply operator): a=10,b=10
c=a*b
output
100
%(Modulus operator): a=10,b=10
c=a%b
output
0
to be continued.................................................
Comments
Post a Comment