Question: what are unary operators in python?
Answer: Python has following arithmetic operators. ... A unary operator has only one operand. We can use - operator to negate any positive number. For example: -5 , in this case - operator is acting as a unary operator, whereas in 100 - 40 , - operator is acting as a binary operator. Similarly, we can use a unary + operator.