command to end function python code example Example: end python program End a program in python exit()