Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Code for Linear Search
Python
Code for the load_strings
function should be added following the load_numbers
function in the load.py
file:
def load_numbers(file_name):
numbers = []
with open(file_name) as f:
for line in f:
numbers.append(int(line))
return numbers
def load_strings(file_name):
strings = []
with open(file_name) as f:
for line in f:
str...