# # File: ps1pr4.py - Problem Set 1, Problem 4 # Author name: # Email: # # Description: Functions with numeric inputs # # This is an individual-only problem that you must complete on your own. # # # 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 # TO DO: add test calls for your functions # sample test call for function 0 print('opposite(-8) returns', opposite(-8))