来源:https://stackoverflow.com/questions/53351828/python-print-out-only-once-if-string-do-not-match-a-string 标签 python loops if-statement compare