Minimum and Squares
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
What to Do
You implement these function in your own program in a file quiz4.py
You should make a main routine that asks the user for three numbers and then calls your functions to which should *RETURN* the value and you print in the main part of your program.
Publish your code on your own blog today (during class time is best) and use the tag #Quiz04 so it shows up nicely in our tag cloud.
Feature Image Credit
Quiz Week 4 by admin is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.