how would I check if something is not in a list? this is my current code:
for line not in line: open("drivers_details.txt"):
if reg not in line:
name=input("what is your name?\n")
address=input("what is your address\n")
print (reg,name,address,"%0.2f"%average_time,"MPH")
(I tried to use "not in" but it didn't work)