Write a program linear_search.py
that includes a function search()
that takes two parameters--a list of integers, and an integer to search for--and returns the position (index) of the number in the list, or a value of None
if the number is not on the list. Have your main()
program create a list of values and demonstrate what happens when various numbers on that list are searched for.