# # a1task2.py - Assignment 1, Task 2 # Name: # Email address: # Description: Functions with numeric inputs # # # 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 # Use the __main__ section for all of your test cases. # This section will automatically be executed when the file is run in Python if __name__ == '__main__': # sample test call for function 0 print('opposite(-8) returns', opposite(-8)) # add test calls for your functions below