Python stoppen die ganze Funktion

import sys sys.exit()
Enthusiastic Eagle