How to Make Something Negative in Python The unary minus operator (-) in Python can be used to make a number negative or to negate a boolean value.For example: -1 is -1. -True is False. The unary minus operator can also be used to negate a sequence, such as a list or a tuple.For example:
Tag:
