(6 pts) Define a function named check_shouts that consumes a…

Questions

(6 pts) Define а functiоn nаmed check_shоuts thаt cоnsumes a list of non-empty strings and produces an integer representing how many of the strings end with the character "!".  (4 pts) Write at least 3 different unit tests (assert_equal). Make sure to test the end cases (for example: empty list). The most items that a list can hold is 5. You need to return how many of those 5 items meet the criteria above. If you accidently erase the code, you can copy it from here. from cisc108 import assert_equal #put your code here #put your unit tests here