What mistake did I made here?
I'm trying to make an yes or no question and giving out also with using only if statement. Please don't laugh coz I'm a beginner in python programming 😅. I don't know what did I miss. I want to know how to complete this using only if statement. Teach me please 🤔..Help me guys!!! Input is here x = input("bro do you love me?: ") x = str(x) if x == yes: print('love you too') if x == no: print('kill you') Output is here 🤯 bro do you love me?: yes Traceback (most recent call last): File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module> start(fakepyfile,mainpyfile) File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start exec(open(mainpyfile).read(), __main__.__dict__) File "<string>", line 3, in <module> NameError: name 'yes' is not defined [Program finished]