from sys import exit print("ess") print("ket") print("it") exit("derose")
Okay so I tried to run this code here in PyCharm and it seems to put the exit(message) above all the prints, it went under all of them only once out of 100 tries, it went to the 3rd position three times and to the second position about 17 times. Why is this random? I want an exit that is always ending the program, how can the program still print stuff when I’ve exited it already. My aesthetics aren’t calm and it doesn’t let me sleep, please help.