Page 1 of 1

How to Think Like a Computer Scientist: Learning with Python 3 Chapter 7 Exercises Question 6. 6. Count how many words o

Posted: Sun Jul 03, 2022 11:22 am
by answerhappygod
How to Think Like a Computer Scientist: Learning with Python3
Chapter 7 Exercises
Question 6.
6. Count how many words occur in a list up to and including thefirst occurrence of the word “sam”. (Write your unit tests for thiscase too. What if “sam” does not occur?)