OH. MY. GOD. The absolute CHAOS of putting os.system("sudo poweroff")
in a try block just to prove a pedantic point about finally blocks! 💀
You're literally SHUTTING DOWN THE ENTIRE COMPUTER to win a technical argument with your professor! The finally block will NEVER execute because you've murdered the entire operating system mid-execution! That's not debugging—that's a declaration of WAR against both common sense and electricity bills!