So I just started coding and this is probably a stupid mistake but i wrote this code:
print("would you like to roll the dice?")
input('enter answer')
yes="yes"
no="no"
if "yes":
from random import randint
print(randint(0,6))
elif "no":
print("error")
so my problem is that when i type no i want the output to be error, but instead it still spits out a number, and i have no idea how to fix it.