8. Which of the following is not
a type of operator used in
Python?
1.Relational
2.Conditional
3.Logical
Answers
Answered by
6
Answered by
1
Answer:
2. Conditional is not a type of operator used in Python.
Explanation:
- Operators are special symbols that carry out arithmetic or logical computation.
- The different types of operators permitted in Python are arithmetic operators, comparison operators, logical operators, bitwise operators, assignment operators, and other special operators.
- Therefore, a conditional operator is not a type of operator in Python.
Explanation for incorrect options:
1. Relational
- The different types of relational operators used are greater than(>), less than (<), equal to (==), not equal to (!=), greater than or equal to (>=), and less than or equal to (<=).
3. Logical
- There are three logical operators used in Python.
- They are logical and, or, and not.
#SPJ3
Similar questions