The search is always canceled after the first hit. How can I correct this? I dont want to cancel.


Code:
from random import randrange

# the max number of values
NumberValue = 100

# an empty list for the values
ListOfNumberValue = []


found = False

search = 0

print("linear search")

runThrough = 1
while runThrough
...