{"id":15969,"date":"2023-04-26T12:17:51","date_gmt":"2023-04-26T12:17:51","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=15969"},"modified":"2024-01-30T06:25:02","modified_gmt":"2024-01-30T06:25:02","slug":"if-else-program-in-python","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/","title":{"rendered":"If Else Program in Python"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\" alt=\"\" \/><\/p>\n<p>Programming languages provide various constructs to control the flow of execution based on certain conditions. One such essential construct in Python is the &quot;if-else&quot; statement. The &quot;if-else&quot; statement allows you to make decisions in your code by evaluating conditions and executing different blocks of code based on whether the conditions are true or false.<br \/>\nIn Python, the &quot;if-else&quot; statement is part of the broader family of conditional statements, providing a flexible way to create logic branches within your programs. This construct enables you to write code that adapts to different scenarios, making your programs more dynamic and responsive to different inputs or conditions. In this guide, we will explore the syntax and usage of the &quot;if-else&quot; statement in Python, understand how it facilitates decision-making in your code, and provide examples to illustrate its application in real-world scenarios.<\/p>\n<h2>What is If Statement?<\/h2>\n<p>A control structure in Python executes a block of code if a condition is true.<\/p>\n<h3>Algorithm for if Statement<\/h3>\n<p>Here&#8217;s the algorithm for the if statement in Python:<\/p>\n<ul>\n<li>Evaluate the expression inside the if statement.<\/li>\n<li>If the expression is True, execute the block of code inside the if statement.<\/li>\n<li>If the expression is False, skip the block of code inside the if statement and continue with the next statement after the if block.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511378074-1%20%2832%29.png\" alt=\"\" \/><\/p>\n<h3>Example if Statement<\/h3>\n<pre><code>x = 10\n\nif x &gt; 5:\n    print(\"x is greater than 5\")<\/code><\/pre>\n<h2>The If Else Statement<\/h2>\n<p>A control structure in Python executes a block of code if a condition is true, and another block of code if the condition is false.<\/p>\n<h3>Algorithm for if-else Statement<\/h3>\n<p>Here&#8217;s the algorithm for the if-else statement in Python:<\/p>\n<ul>\n<li>Evaluate the expression inside the if statement.<\/li>\n<li>If the expression is True, execute the block of code inside the if statement.<\/li>\n<li>If the expression is False, execute the block of code inside the else statement.<\/li>\n<li>Continue with the next statement after the if-else block.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511378075-2%20%2816%29.png\" alt=\"\" \/><\/p>\n<h3>Example of if else Program in Python<\/h3>\n<pre><code>x = 10\n\nif x &gt; 5:\n    print(\"x is greater than 5\")\nelse:\n    print(\"x is smaller than or equal to 5\")<\/code><\/pre>\n<h2>The Elif Statement<\/h2>\n<p>A control structure in Python that allows you to test multiple conditions and execute a block of code if any of the conditions is true.<\/p>\n<h3>Algorithm for elif Statement in Python<\/h3>\n<p>Here&#8217;s the algorithm for the elif statement in Python:<\/p>\n<ul>\n<li>Evaluate the expression inside the if statement.<\/li>\n<li>If the expression is True, execute the block of code inside the if statement.<\/li>\n<li>If the expression is False, evaluate the next expression inside the elif statement.<\/li>\n<li>If the expression in any of the elif statements is True, execute the block of code inside that elif statement.<\/li>\n<li>If all expressions are False, execute the block of code inside the else statement (if there is one) or continue with the next statement after the if-elif block.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511378179-3%20%2810%29.png\" alt=\"\" \/><\/p>\n<h3>Example Program elif Statement in Python<\/h3>\n<pre><code>num = 10\n\nif num &lt; 0:\n    print(&quot;Number is negative&quot;)\nelif num == 0:\n    print(&quot;Number is zero&quot;)\nelse:\n    print(&quot;Number is positive&quot;)<\/code><\/pre>\n<p><strong>Conclusion<\/strong><br \/>\nThe &quot;if-else&quot; statement is a fundamental building block in Python programming, providing a powerful mechanism for making decisions within your code. By evaluating conditions and executing different code blocks based on those conditions, you can create versatile and adaptive programs. Whether handling user inputs, processing data, or responding to dynamic scenarios, mastering the use of &quot;if-else&quot; statements is essential for any Python developer. Through this guide, we hope you have gained a solid understanding of how to use &quot;if-else&quot; statements effectively in your Python programs.<\/p>\n<h2>Frequently Asked Questions(FAQs) Related to If Else Program in Python<\/h2>\n<p>Here are some FAQs related to the If Else Program in Python.<\/p>\n<p><strong>1. How does short-circuiting work in Python&#039;s &quot;if-else&quot; statements?<\/strong><br \/>\nPython uses short-circuit evaluation. In an &quot;or&quot; condition, if the first part is true, the second part is not evaluated. In an &quot;and&quot; condition, if the first part is false, the second part is not evaluated.<\/p>\n<p><strong>2. Can I have multiple &quot;elif&quot; (else if) statements in Python?<\/strong><br \/>\nYes, you can use multiple &quot;elif&quot; statements between the &quot;if&quot; and &quot;else&quot; blocks to check for additional conditions. This allows you to create more complex decision trees.<\/p>\n<p><strong>3. How are conditions evaluated in the &quot;if-else&quot; statement?<\/strong><br \/>\nThe condition in the &quot;if&quot; statement is evaluated. If it is true, the code inside the &quot;if&quot; block is executed. If the condition is false, the code inside the &quot;else&quot; block (if present) is executed.<\/p>\n<p><strong>4. Can I nest &quot;if-else&quot; statements in Python?<\/strong><br \/>\nYes, you can nest &quot;if-else&quot; statements by placing one inside another. However, it&#039;s essential to maintain proper indentation for readability.<\/p>\n<p><strong>5. What happens if there is no &quot;else&quot; block?<\/strong><br \/>\nIf there is no &quot;else&quot; block, and the condition in the &quot;if&quot; statement is false, the program simply skips the &quot;if&quot; block and continues with the subsequent code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Programming languages provide various constructs to control the flow of execution based on certain conditions. One such essential construct in Python is the &quot;if-else&quot; statement. The &quot;if-else&quot; statement allows you to make decisions in your code by evaluating conditions and executing different blocks of code based on whether the conditions are true or false. In [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[154],"tags":[],"class_list":["post-15969","post","type-post","status-publish","format-standard","hentry","category-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>If Else Program in Python<\/title>\n<meta name=\"description\" content=\"Check here If else program in which different code blocks run, based on whether a condition is true or false.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"If Else Program in Python\" \/>\n<meta property=\"og:description\" content=\"Check here If else program in which different code blocks run, based on whether a condition is true or false.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-26T12:17:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-30T06:25:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"If Else Program in Python\",\"datePublished\":\"2023-04-26T12:17:51+00:00\",\"dateModified\":\"2024-01-30T06:25:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\"},\"wordCount\":795,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\",\"name\":\"If Else Program in Python\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\",\"datePublished\":\"2023-04-26T12:17:51+00:00\",\"dateModified\":\"2024-01-30T06:25:02+00:00\",\"description\":\"Check here If else program in which different code blocks run, based on whether a condition is true or false.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"If Else Program in Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"If Else Program in Python","description":"Check here If else program in which different code blocks run, based on whether a condition is true or false.","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:\/\/prepbytes.com\/blog\/if-else-program-in-python\/","og_locale":"en_US","og_type":"article","og_title":"If Else Program in Python","og_description":"Check here If else program in which different code blocks run, based on whether a condition is true or false.","og_url":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-04-26T12:17:51+00:00","article_modified_time":"2024-01-30T06:25:02+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"If Else Program in Python","datePublished":"2023-04-26T12:17:51+00:00","dateModified":"2024-01-30T06:25:02+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/"},"wordCount":795,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/","url":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/","name":"If Else Program in Python","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg","datePublished":"2023-04-26T12:17:51+00:00","dateModified":"2024-01-30T06:25:02+00:00","description":"Check here If else program in which different code blocks run, based on whether a condition is true or false.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1682511376739-if%20else%20program%20in%20python.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/if-else-program-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/prepbytes.com\/blog\/category\/python\/"},{"@type":"ListItem","position":3,"name":"If Else Program in Python"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/15969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=15969"}],"version-history":[{"count":4,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/15969\/revisions"}],"predecessor-version":[{"id":18772,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/15969\/revisions\/18772"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=15969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=15969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=15969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}