Activity #10

Today I want you and your partner to write two Boolean functions. Boolean functions are ones that return either True of False to answer a "question."

An example of this would be the following fucntion that determines if a number is even.

 

At the command line we would test it with:

 


 

Write each of these functions in a single file named s31.py

 

 

 


 

 

When you are done you should submit your code under PARTNER A's account:

https://www.cs.uni.edu/~schafer/submit/which_course.cgi