May-27-2017, 09:46 PM
(May-27-2017, 08:28 PM)buran Wrote:input
returnstr
, and you compare withint
, that is whyif choice == 1
is always false
obviously you are aware that input return str, because you convert it to float in buy function.
So how would I fix that? I didn't necessarily know that input returns a string, I was just messing around and found that that would get rid of my errors. I'm trying to call function
buy()from function
intromenu()but can't.