3rd Day Coding Question
Hello I have started to study python and just coding in general this week. I started going over just the beginning courses (literal 3 days long at programming in general.) Decided to step off into my own side project to bring all the beginning stuff I learned together, with a little bit of googling for the else/if, by making a simple "Math Genius" encounter. My issue is: I have y=input() print (y) thinking that it will print y as an equation for python to solve and print the answer... I guess not haha... ha is there a way to get python to read the input for y as an equation and solve it? here is my whole code so far print ('Hello! I am a math genius! Is there a problem I could help you with? (Yes or No)') x = str(input()) if x in ('yes','Yes','y','Y','YES'): print ('Great! What is your problem!') y = input() print (y) else: print('Well then you\'re my problem!') exit