{"id":4430,"date":"2022-12-22T11:37:30","date_gmt":"2022-12-22T11:37:30","guid":{"rendered":"https:\/\/gyanipandit.com\/programming\/?p=4430"},"modified":"2022-12-22T11:37:32","modified_gmt":"2022-12-22T11:37:32","slug":"python-program-for-bubble-sort","status":"publish","type":"post","link":"https:\/\/gyanipandit.com\/programming\/python-program-for-bubble-sort\/","title":{"rendered":"Python program for bubble sort"},"content":{"rendered":"<p align=\"JUSTIFY\">In this video, we are going to understand a very simple sorting algorithm called Bubble sort, and we are going to implement a Python program, where we would use the bubble sorting technique, to sort our list. There are many sorting algorithms that you can explore. Here, in the bubble sorting algorithm, we are going to compare adjacent elements if they are in the wrong order. The algorithm is very simple, and once you understand it, you can easily implement it in the program.<\/p>\n<h2 style=\"text-align: center;\" align=\"JUSTIFY\">Python program for bubble sort<\/h2>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"youtube-embed\" data-video_id=\"9vILqIG6NIU\"><iframe loading=\"lazy\" title=\"Python Program For Bubble Sort\" width=\"696\" height=\"392\" src=\"https:\/\/www.youtube.com\/embed\/9vILqIG6NIU?feature=oembed&#038;enablejsapi=1\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>\u00a0I hope you find this video \u2018Python program for bubble sort\u2019 helpful for you\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this video, we are going to understand a very simple sorting algorithm called Bubble sort, and we are going to implement a Python program, where we would use the bubble sorting technique, to sort our list. There are many sorting algorithms that you can explore. Here, in the bubble sorting algorithm, we are going [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4432,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[26,73],"class_list":{"0":"post-4430","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python","8":"tag-python","9":"tag-python-program-for-bubble-sort"},"_links":{"self":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/comments?post=4430"}],"version-history":[{"count":1,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4430\/revisions"}],"predecessor-version":[{"id":4433,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/posts\/4430\/revisions\/4433"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/media\/4432"}],"wp:attachment":[{"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/media?parent=4430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/categories?post=4430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gyanipandit.com\/programming\/wp-json\/wp\/v2\/tags?post=4430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}