{"id":18448,"date":"2021-06-21T10:26:20","date_gmt":"2021-06-21T10:26:20","guid":{"rendered":"https:\/\/www.askpython.com\/?p=18448"},"modified":"2021-06-21T10:26:20","modified_gmt":"2021-06-21T10:26:20","slug":"python-course-while-loop","status":"publish","type":"post","link":"https:\/\/www.askpython.com\/course\/python-course-while-loop","title":{"rendered":"Python Course &#8211; while loop"},"content":{"rendered":"\n<p>In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.<\/p>\n\n\n\n<div style=\"position: relative; padding-top: 56.22254758418741%;\"><iframe src=\"https:\/\/iframe.mediadelivery.net\/embed\/7259\/062e1605-00d7-40cb-b071-39fd5e6c4dbe?autoplay=false&#038;preload=false\" loading=\"lazy\" style=\"border: none; position: absolute; top: 0; height: 100%; width: 100%;\" allow=\"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture;\" allowfullscreen=\"true\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[380],"tags":[],"class_list":["post-18448","post","type-post","status-publish","format-standard","hentry","category-course"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/posts\/18448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/comments?post=18448"}],"version-history":[{"count":0,"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/posts\/18448\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/media?parent=18448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/categories?post=18448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.askpython.com\/wp-json\/wp\/v2\/tags?post=18448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}