This were the instructions posted by the teacher:
For this quiz I want you to (in class) create a program with two functions:
- def minimum_three(x, y, z): # returns the value that is smallest of x, y and z
- def sum_squares(x, y, z): # returns the value of the sum of squares of x, y, z
Here is a screenshot of my code:
Edit: I missed an underscore on line 22.
Edit 2: I missed the ” : ” on line 24 after “__main__”: Running the code should be fine now.
After saving the file I will run it on Terminal, here is the result: