# 
# ps2pr1.py - Problem Set 2, Problem 1
#
# Functions with numeric inputs
#
# If you worked with a partner, put their contact info below:
# partner's name:
# partner's email:
#

# function 0
def opposite(x):
    """ returns the opposite of its input
        input x: any number (int or float)
    """
    return -1*x

# put your definitions for the remaining functions below





# optional but encouraged: add test calls for your functions, indented below
if __name__ == '__main__':
        
    # sample test call for function 0
    print('opposite(-8) returns', opposite(-8))

