I have issue of running Python code on Atom

I’m on MacOs
My code works well on repl.it or IDLE, however I cannot run code by cmd + i and F5 key.

my code is

print(“hello”)
apple = input(“What’s your favorite thing?”)
if apple == “banana”:
print(“WOW”)
else:
print(“hmm”)

and the error message says

hello
What’s your favorite thing?banana
Traceback (most recent call last):
File “/Users/myname/Desktop/Python/Testing.py”, line 2, in
apple = input(“What’s your favorite thing?”)
File “”, line 1, in
NameError: name ‘banana’ is not defined

I think the problem is line about input commands

I downloaded packages like: atom-python-run, autocomplete-python, kite, minimap and script.

How can i fix this problem?

Try a search (click here for url)

do u add indentation in block of if and else ?