__yes_or_no__
- :
tf =__yes_or_no__("prompt")¶ Ask a yes or no question. The text
(yes or no)is appended to prompt; only the complete wordsyesandnoare accepted, anything else repeats the question.
__yes_or_no__tf = __yes_or_no__ ("prompt") ¶Ask a yes or no question. The text (yes or no) is appended to
prompt; only the complete words yes and no are
accepted, anything else repeats the question.