# # ps1pr3.py - Problem Set 1, Problem 3 # # 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 # test function with a sample test call for function 0 def test(): """ performs test calls on the functions above """ print('opposite(-8) returns', opposite(-8)) # optional but encouraged: add test calls for your functions below