Input
yourChoice = True
while yourChoice:
    inf_or_ltd = input('Would you like to play infinte or a limited game?: '):
        if inf_or_ltd = ((('Limited') or ('limited')) and (compScore == ('3'))):
            exit = True
            print("You lost, Goodbye")
            break
            time.sleep(1)
Why is the colon a invalid syntax? I've checked the bracket balance and the previous lines (which are just variables and importing a few modules). It says that a limited game?: '): is invalid syntax. 
 
     
    