from sys import exit
def answer():
answer = raw_input("> ")
if answer == "Yes" or answer == "yes":
#going to next
joint()
elif answer == "No" or answer == "no":
print "You still have something, I know..."
again()
else:
fubar()
def again():
again = raw_input("> ")
if again == "Yes" or again == "yes":
#going to next
joint()
elif again == "No" or again == "no":
print "You still have something, I know..."
else:
fubar()
def fuck():
print "Fubar'd!"
def joint():
print "To be continue..."
def question():
print "Hi duuuude..."
raw_input("To say 'Hi' press Enter")
print "Can you help me?"
answer()
question()
嗨,你能帮我解决这个问题吗?当我得到答案“否”时,我正在尝试重复“答案”功能。我想“再次”转义功能......还有一种方法可以转义“答案==“是”或答案==“是”:“所以无论我写大写还是小写字母都可以接受答案而不是像菜鸟一样写“是”还是“是”?