阅读背景:

Python 3:if / else语句直接跳转到else

来源:互联网 

Alright, so I was working on a Pig Latin translator (like the one in the Codecademy lessons, but more advanced), and it works, except for when I prompt the user if they want to translate another word or not, but the if/else statement that I give the user always skips to the else no matter what the input. The module gives no syntax errors or anything, and I don't see ANYTHING wrong with the code. This is the block from my program that is giving me issues:Alright, so I was working on a Pig Latin transl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: