This commit is contained in:
iceman1001 2024-11-07 21:34:35 +01:00
commit 27fee07090
3 changed files with 9 additions and 3 deletions

View file

@ -31,7 +31,7 @@ def invert(data):
def search(target,data):
location = data.find(target)
if location >= 0:
print('*** Match at bit {:d}: {}<{}>{}'.format(location, data[:location],target,data[location+len(target):]))
print('*** Match at bit {:d}: {}<{}>{}'.format(location, data[:location], target,data[location + len(target):]))
else:
print('Not found')