{"id":783,"date":"2026-11-24T07:31:21","date_gmt":"2026-11-24T07:31:21","guid":{"rendered":"https:\/\/padhai.co\/class-12\/2026\/11\/24\/cs-python-practical-infinite-loop-panic\/"},"modified":"2026-11-24T07:31:21","modified_gmt":"2026-11-24T07:31:21","slug":"cs-python-practical-infinite-loop-panic","status":"publish","type":"post","link":"https:\/\/padhai.co\/class-12\/2026\/11\/24\/cs-python-practical-infinite-loop-panic\/","title":{"rendered":"The sheer panic when your Python nested loop in Computer Science practical throws an infinite loop right as examiner walks by"},"content":{"rendered":"<p>Terminal window scrolling continuously at speed of light with <code>IndexError: string index out of range<\/code> and infinite prints. Hands shaking trying to hit Ctrl+C before external sir reaches my monitor screen.<\/p>\n<p>Quick tip for everyone having CS practical next week: always write your base conditions first before writing recursive functions or while loops!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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!<\/p>\n","protected":false},"author":874,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"social_post_type":[2],"social_topics":[38,44,63],"educator":[],"exam":[],"class_list":["post-783","post","type-post","status-publish","format-standard","hentry","category-uncategorized","social_post_type-post","social_topics-computer-science","social_topics-practicals","social_topics-python"],"_links":{"self":[{"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/users\/874"}],"replies":[{"embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":0,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"wp:attachment":[{"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/tags?post=783"},{"taxonomy":"social_post_type","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/social_post_type?post=783"},{"taxonomy":"social_topics","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/social_topics?post=783"},{"taxonomy":"educator","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/educator?post=783"},{"taxonomy":"exam","embeddable":true,"href":"https:\/\/padhai.co\/class-12\/wp-json\/wp\/v2\/exam?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}