How to create a negative number in Python

A negative number is any number that is less than zero and is prefixed with -. For example, -1 and -2.2 are negative numbers.

Solution for How to create a negative number in Python : You can use – in front of any number to create a negative number Use – before any number to create a negative number.


how-to-create-a-negative-number-in-python