The sheer panic when your Python nested loop in Computer Science practical throws an infinite loop right as examiner walks by
Terminal window scrolling continuously at speed of light with IndexError: string index out of range and infinite prints. Hands shaking trying to hit Ctrl+C before external sir reaches my monitor screen.
Quick tip for everyone having CS practical next week: always write your base conditions first before writing recursive functions or while loops!

Comments (6)
Please log in to comment
Log In