why does an error of

searchterm = sys.argv[1]
IndexError: list index out of range

appear when running this code?