why this code is not working can someone help me im a begginer

Question:

hi can someone help me with this code idk what im doing wrong im a begginer in python

while True:
    command = input("> ").lower
    if command == "start":
        print("lets go")
   
    elif command == "stop":
          print('why not')
    elif command == 'help':
        print("""
        start---to start the car
        stop--- to stop the car
        quit--- to finish the game
        """)
    elif command == "quit":
        break
    else:
        print("i dont understand")
Asked By: MateoAguia1606

||

Answers:

i did a little edite to your code

while True:
    command = input("> ").lower()
    if command == "start":
        print("lets go")
   
    elif command == "stop":
          print('why not')

    elif command == 'help':
        print("""
        start---to start the car
        stop--- to stop the car
        quit--- to finish the game
        """)

    elif command == "quit":
        break

    else:
        print("i dont understand")
Answered By: Ali

Just a syntax issue

while True:
command = input("> ")
command = command.lower()
if command == "start":
    print("lets go")

elif command == "stop":
      print("why not")
elif command == "help":
    print('''
    start---to start the car
    stop--- to stop the car
    quit--- to finish the game
    ''')
elif command == "quit":
    break
else:
    print("i dont understand")
Answered By: Tyson_Codes
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.