需要帮助Python 3 ISBN校验位

时间:2014-01-28 15:09:22

标签: python python-3.x

删除我不希望这是在线er0oijhw-og

1 个答案:

答案 0 :(得分:-2)

错误的缩进。试试这个:

while True:
    close = input("Would you like to try again? Enter 'y' for Yes and 'n' for No: ")
    if close.lower() in ("n", "no"):
        print("Exiting")
        break