Why does this code produce a syntax error? : <p>I am having problems with this if statement</p>

<pre><code>while True:
    try:
        continue_shopping=int(input("press 0 to stop shopping and print your reciept or press 1 to continue shopping"))
    if continue_shopping !=0 and continue_shopping !=1:
        print(" make sure you enter 0 or 1")
    if continue_shopping !=1
    keep_searching = False
    if (continue_shopping == 0):
        fileOne.close()
        fileTwo = open("receipt.csv" , "r")
        reader = csv.reader(fileTwo)
        for row in reader:
            if row != None:
                print(row)
    elif continue_shopping==1:
        search_user_input()
        quantity()
quantity()
</code></pre>

<p>The fifth line produces a invalid syntax error the "if" is highlighted in red , I am unsure of why this is the case</p>
