I have an else if statement that will ask the user if they would like to scale the a number. If the answer is No then I want the scaler to be 0, while if the answer is yes, I would like the user to input the scaler. Every time I run the yes scaler, it still detects that the scaler is 0 and never lets the user input a number. Any suggestions?
Here is my code and output:
print ("Do you want to scale the price, Yes or No?")
answer = input("")
if answer == 'no' or 'No':
    scale = 0
elif answer == 'yes' or 'Yes':
    print("How much would you like to scale it by?")
    scale = float(input ())
print (scale)
output:
Do you want to scale the price, Yes or No?
 Yes
0
 
     
     
     
    