这段代码不断重复,我无法找出原因。我正在使用python 2.7。
def source():
print "What is the source of the emails that you want to sort?"
start_source = raw_input("> ")
print "The source is: \"" + start_source + "\" is this correct? Enter yes/no/y/n"
answer = raw_input("> ")
if answer == "no" or "n":
source()
return start_source
source()