1) Write Python operators with symbols and descriptions.
a) Arithmetic Operators b) Assignment Operators
2) Draw the icons of social networking sites and define any three.
Answers
Explanation:
This tutorial explains about Operators in Python. There are different types of Python operators available such as Arithmetic, Comparison, Assignment, Logical, Bitwise, Identity, and Membership operators. You’ll learn their syntax and get to use them with tons of examples available here.
Each operator has a specific symbol to represent it. We’ll check out all the associated symbols and understand their meaning. Each of them performs a particular operation and use one or more operands a.k.a variables.
E.g. – a | b or a & b. The literals a and b are operands whereas “|” and “&” are operators. The former (|) does a bit by bit OR operation while the latter (&) does an AND operation.
Now, let’s know what are these operators for and how to use them in real-time.