helps = 'help'
isCarStarted = False
isCarStopped = False
userInput = ''
while True:
    userInput = input('>').lower()
    if helps == userInput:
        print('''
start - to start the car
stop - to stop the car 
quit - to exit
        ''')
    elif userInput == "start":
        if isCarStarted:
            print('car is already started. it doesnt make sense to start it again')
        else:
            print('car is started ... ready to go')
            isCarStarted=True
    elif userInput == "stop":
        if isCarStopped:
            print('car is already stopped. what are you doing!')
        else:
            print('car is stopped')
            isCarStopped=True
    elif userInput == "quit":
        break
    else:
        print("i don't know that")

1118cb2e27e441ae4848690e0fb131170052b204
<mask token>

<mask token>
while True:
    userInput = input('>').lower()
    if helps == userInput:
        print(
            '\nstart - to start the car\nstop - to stop the car \nquit - to exit\n        '
            )
    elif userInput == 'start':
        if isCarStarted:
            print(
                'car is already started. it doesnt make sense to start it again'
                )
        else:
            print('car is started ... ready to go')
            isCarStarted = True
    elif userInput == 'stop':
        if isCarStopped:
            print('car is already stopped. what are you doing!')
        else:
            print('car is stopped')
            isCarStopped = True
    elif userInput == 'quit':
        break
    else:
        print("i don't know that")

helps = 'help'
isCarStarted = False
isCarStopped = False
userInput = ''
while True:
    userInput = input('>').lower()
    if helps == userInput:
        print(
            '\nstart - to start the car\nstop - to stop the car \nquit - to exit\n        '
            )
    elif userInput == 'start':
        if isCarStarted:
            print(
                'car is already started. it doesnt make sense to start it again'
                )
        else:
            print('car is started ... ready to go')
            isCarStarted = True
    elif userInput == 'stop':
        if isCarStopped:
            print('car is already stopped. what are you doing!')
        else:
            print('car is stopped')
            isCarStopped = True
    elif userInput == 'quit':
        break
    else:
        print("i don't know that")

helps = 'help'
isCarStarted = False
isCarStopped = False
userInput = ''
while True:
    userInput = input('>').lower()
    if helps == userInput:
        print('''
start - to start the car
stop - to stop the car 
quit - to exit
        ''')
    elif userInput == "start":
        if isCarStarted:
            print('car is already started. it doesnt make sense to start it again')
        else:
            print('car is started ... ready to go')
            isCarStarted=True
    elif userInput == "stop":
        if isCarStopped:
            print('car is already stopped. what are you doing!')
        else:
            print('car is stopped')
            isCarStopped=True
    elif userInput == "quit":
        break
    else:
        print("i don't know that")
