Question: 2 . Exercise 1 : Search a String In the directory exercise 1 there are two files: func.py and test.py . The file test.py is

2. Exercise 1: Search a String
In the directory exercise1 there are two files: func.py and test.py. The file test.py is a completed test script to help you with this exercise. The file func.py contains a stub for single function findall. This function takes a two strings, and searches for the second string in the first. It returns a tuple of all of the locations that the second string appears.
Read the specification and test cases carefully. Implement the function and test your answer with the test script. Make sure that your files remain in exercise1; do not move them outside this folder.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!