Python Tutorial For Beginners – A Complete Guide
We all know the different operators in python, i.e., Unary operators and Binary operators. An operator that can be used to negate a positive value with one operand is called the unary operator; for example, x -4, here we are negating a value 4 with operator –, so operator -- acts as a unary operator. An operator who works with two operands is called a binary operator; for example, x, 3 7, the operator acts as a binary operator.
Nov-22-2022, 10:54:55 GMT