diff --git a/Question1.py b/Question1.py index 110057d..c29cd28 100644 --- a/Question1.py +++ b/Question1.py @@ -3,7 +3,7 @@ def search(pat, txt): M = len(pat) N = len(txt) c = 0 - count = 8; + m=4; list = [] # A loop to slide pat[] one by one */ for i in range(N - M + 1):