'Testing Functions for Program

I have a task where I need to create a series of functions that will test a program given to us. The only tests I need to provide are ones that will come out to True

I followed an example and tried to apply it to the specifications that were given but I'm not sure how to tackle the other ones. This is a very new topic for us in Python and I'd like some help because this will help me learn it a lot faster. Any help is really appreciated. Please show the change in code. Thanks in advance!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source