-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Following the same format as other functions in noises.py, write a function for random_noise(). This function will play one of the five cat noise mp3 files in the sound folder randomly.
- Write the random function in noises.py
- Incorporate the function in Cat class using the existing function Cat.make_noise. Use parameter noise = "random". Look at how meowing is already incorporated.
- Edit the docstrings for this function to reflect the new sound
- Create a test for the new function. Note that since this function already exists, it already has tests. Reuse as much as possible.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request