私は初心者で、http://en.wikibooks.org/wiki/Python_Programming/Conditional_Statementsを見ていますが、ここではその問題を理解できません。ユーザーは、それは私が答え==「Y」Pythonの文字列の場合は?
answer = str(input("Is the information correct? Enter Y for yes or N for no"))
proceed="y" or "Y"
If answer==proceed:
print("this will do the calculation"):
else:
exit()
以下の回答が役立ちます。しかし、最初から始めてプログラミングチュートリアルに従う必要があるようです。ダイビングに入る前に基本を学ぶのがベスト! – samb8s