I have a program to quiz me on how far planets are from the sun. The only problem is, no matter what answer I put it always shows up as correct. Here is a link to my code: http://pastebin.com/MimECyjm
If possible, I would like a more simplistic answer because I am not that proficient in python yet
Code in question:
mercury = "57.9"
mercury2 = "57900000"
def Mercury():
ans = raw_input("How far is Mercury from the sun? ")
if mercury or mercury2 in ans:
print "Correct!"
time.sleep(.5)
os.system("cls")
main()
else:
print "Incorrect!"
Mercury()