Ok, so my problem is that basically I'm learning how to use APIs and there's this problem keeping me behind. The problem is that although I keep putting the new string for it to recognize it and start my elif, it keeps giving me the result as if I assigned my variable with the first string. Here's the code, hope you can help me with this.
import requests
import json
print('Welcome to the quote app')
nombre = input('Whats your name? : ')
opcion = ''
print('\n See all of our options\n')
print('Random Quote')
print('Quote Of the Day')
opcion = input('Select an option: ')
respuesta = opcion.lower()
del(opcion)
if respuesta == 'random quote' or 'randomquote' or 'random quote ':
#The GET for this answer is inside here
elif respuesta == 'quote of the day ' or 'quoteoftheday' or 'quote of the day ':
#The GET for this answer is inside here
#Terminal answer
Welcome to the quote app
Whats your name? : milton
See all of our options
Random Quote
Quote Of the Day
Select an option: quote of the day
milton ,Your random quote of the day is: Your fears, your critics, your heroes, your villains: They are fictions you perceive as reality. Choose to see through them. Choose to let them go.
Said by: Isaac Lidsky