Why is this program showing a error to me?
Hey there ! everyone get ready for another question .whenever i am running this program its throwing an error on me I don't know why that's happening.For the sake of convenience ,I have commented the rest of the program
please help me friendz :(
if fp == (1 or "charmander"):, you should do
if fp == ("1" or "charmander"):, because right now, whenever you enter a number, it is a string, not an integer. And the string number 1 is not in any of those if statements, so the variable
confrm doesn't define (you didn't give it a thing to do).