{"id":22397,"date":"2023-02-24T01:39:58","date_gmt":"2023-02-24T01:39:58","guid":{"rendered":"https:\/\/www.booksofall.com\/pl\/?post_type=product&#038;p=22397"},"modified":"2023-02-24T01:40:56","modified_gmt":"2023-02-24T01:40:56","slug":"python-programming-exercises-gently-explained","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/","title":{"rendered":"Python Programming Exercises, Gently Explained"},"content":{"rendered":"<p>&#8220;How can I get better at programming?&#8221; I see this common question often from those who have started their programming journey. Of course, there are plenty of Python programming tutorials for total beginners. However, these tutorials can carry the reader so far. After finishing these lessons, readers often find their skills more than capable of yet another &#8220;Hello, world!&#8221; tutorial but not advanced enough to begin writing their own programs. They find themselves in the so-called &#8220;<a href=\"https:\/\/www.wbscodingschool.com\/blog\/what-is-tutorial-hell-how-to-get-out\/\">tutorial hell<\/a>.&#8221; They learn the basic syntax of a programming language but wonder where to begin when it comes to applying them to their own programs.<\/p>\n<p>Programming is like any other skill: it gets better with practice. I\u2019ve chosen the exercises in this book because they are short and straightforward. Each exercise involves only a handful of programming concepts and you can solve them in a single session at the computer. If you\u2019ve been intimidated by &#8220;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Competitive_programming\">competitive programming<\/a>&#8221; or &#8220;<a href=\"https:\/\/www.hackerrank.com\/challenges\/challenges\/problem\">hacker challenge<\/a>&#8221; websites, you\u2019ll find these to be an instructive and gentler way to level up your coding skills.<\/p>\n<p>When I wrote Automate the <a href=\"https:\/\/automatetheboringstuff.com\/\">Boring Stuff<\/a> with <a href=\"https:\/\/www.python.org\/\">Python<\/a>, I wanted to teach programming to as many non-programmers as possible. So, I released that book (and all of my other programming books) under a Creative Commons license so they could be downloaded and shared for free from my website <a href=\"https:\/\/inventwithpython.com\">https:\/\/inventwithpython.com<\/a>. You can pay for a physical print book but it\u2019s important to me to lower all barriers to access, so the books are available online for free. I\u2019ll cite some of these books in the Further Reading section of the exercises in this book.<\/p>\n<p>What Will This Book Do For You?<\/p>\n<p>This book offers 42 programming exercises for inexperienced Python programmers. I\u2019ve gathered them into this book and combined them with plain-English explanations. You can read the description for each exercise and start on the solution immediately. If you need further help, you can read about the programming concepts you\u2019ll need to know for the solution. You can also find out about any surprising &#8220;gotchas&#8221; you might encounter while writing your solution. Finally, if you still need help, I provide a fill-in-the-blank template of the solution. Try to resist the temptation to immediately jump to the hints; try to solve these exercises yourself first.<\/p>\n<p>As you work through these exercises, you\u2019ll find that some use the same coding techniques as other problems. A lot of programming expertise develops this way: being able to solve a problem isn\u2019t about how smart you are but if you\u2019ve seen similar problems before. My aim isn\u2019t to stump you with complex, contrived programming challenges but help you explore simple problems with gentle explanations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/pythonprogrammingexercisesgentlyexplained-19nsq7isfq?enforceShowPromotionBar=true&amp;p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":22401,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":""},"product_brand":[],"product_cat":[275],"product_tag":[],"class_list":{"0":"post-22397","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-python","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Programming Exercises, Gently Explained - BooksOfAll Polish<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/\" \/>\n<meta property=\"og:locale\" content=\"pl_PL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Programming Exercises, Gently Explained - BooksOfAll Polish\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Polish\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-24T01:40:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png\" \/>\n<meta name=\"twitter:label1\" content=\"Szacowany czas czytania\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minuty\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/\",\"url\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/\",\"name\":\"Python Programming Exercises, Gently Explained - BooksOfAll Polish\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png\",\"datePublished\":\"2023-02-24T01:39:58+00:00\",\"dateModified\":\"2023-02-24T01:40:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#breadcrumb\"},\"inLanguage\":\"pl-PL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png\",\"width\":\"497\",\"height\":\"695\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/pl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/pl\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Programming Exercises, Gently Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#website\",\"url\":\"https:\/\/www.booksofall.com\/pl\/\",\"name\":\"BooksOfAll Polish\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/pl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pl-PL\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#organization\",\"name\":\"BooksOfAll Polish\",\"url\":\"https:\/\/www.booksofall.com\/pl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pl-PL\",\"@id\":\"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Polish\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Programming Exercises, Gently Explained - BooksOfAll Polish","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/","og_locale":"pl_PL","og_type":"article","og_title":"Python Programming Exercises, Gently Explained - BooksOfAll Polish","og_url":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/","og_site_name":"BooksOfAll Polish","article_modified_time":"2023-02-24T01:40:56+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png","twitter_misc":{"Szacowany czas czytania":"2 minuty"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/","url":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/","name":"Python Programming Exercises, Gently Explained - BooksOfAll Polish","isPartOf":{"@id":"https:\/\/www.booksofall.com\/pl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png","datePublished":"2023-02-24T01:39:58+00:00","dateModified":"2023-02-24T01:40:56+00:00","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#breadcrumb"},"inLanguage":"pl-PL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/"]}]},{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#primaryimage","url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png","contentUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2023\/02\/img_63f813e43a1f3.png","width":"497","height":"695"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/pl\/python-programming-exercises-gently-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/pl\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/pl\/categories\/"},{"@type":"ListItem","position":3,"name":"Python Programming Exercises, Gently Explained"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/pl\/#website","url":"https:\/\/www.booksofall.com\/pl\/","name":"BooksOfAll Polish","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/pl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/pl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pl-PL"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/pl\/#organization","name":"BooksOfAll Polish","url":"https:\/\/www.booksofall.com\/pl\/","logo":{"@type":"ImageObject","inLanguage":"pl-PL","@id":"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/pl\/wp-content\/uploads\/sites\/11\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Polish"},"image":{"@id":"https:\/\/www.booksofall.com\/pl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product\/22397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/media\/22401"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/media?parent=22397"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_brand?post=22397"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_cat?post=22397"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/pl\/wp-json\/wp\/v2\/product_tag?post=22397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}