cara menutup python dengan baris kode

exit()
#If you are running this on an IDE like IDLE, then it might confirm if you want to quit the program.
Panda++