Description:
Very simple, given a number, find its opposite.
Examples
1: -1
14: -14
-34: 34
def opposite(number):
pass
def opposite(number):
return number * -1
Description:
Very simple, given a number, find its opposite.
Examples
1: -1
14: -14
-34: 34
def opposite(number):
pass
def opposite(number):
return number * -1