{"id":23089,"date":"2021-12-10T12:32:00","date_gmt":"2021-12-10T07:02:00","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=23089"},"modified":"2023-07-27T17:04:50","modified_gmt":"2023-07-27T11:34:50","slug":"how-to-restart-a-while-loop-in-python-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/","title":{"rendered":"How to restart a while loop in Python | Example code"},"content":{"rendered":"\n<p>You can use the <a href=\"https:\/\/tutorial.eyehunts.com\/python\/what-does-the-python-input-function-do-basics\/\">input() function<\/a> to restart a while loop in Python. And use the if statement to restart the loop count.<\/p>\n\n\n\n<p>Here is the simple syntax for it, use your own logic.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>i=2\nwhile i &lt; n:\n    if something:\n       do something\n       i += 1\n    else: \n       do something else  \n       i = 2 #restart the loop<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Example restart a while loop in Python<\/strong><\/h2>\n\n\n\n<p>Simple example code while loop restarts if the user enters &#8220;0&#8221;, otherwise the loop will run until &#8220;i &lt; 5&#8221;. To stop it use the <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-break-statement-for-loop-while-for\/\">break statement<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>i = 0\nwhile i &lt; 5:\n\n    restart = (input(\"Enter 0 to restart loop: \"))\n\n    if restart != \"0\":\n        print(\"Loop \", i)\n        i += 1\n    else:\n        print(\"Loop Restarted\")\n        i = 0  # restart the loop\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"398\" height=\"172\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg?resize=398%2C172&#038;ssl=1\" alt=\"How to restart a while loop in Python\" class=\"wp-image-23112\"\/><\/figure><\/div>\n\n\n<p>The <code>continue<\/code> statement causes the loop to immediately jump to the next iteration, skipping any code that comes after it within the loop body.<\/p>\n\n\n\n<p>Here&#8217;s a more concrete example where the user is prompted to input a number, and if the number is negative, the loop restarts to ask for input again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>while True:\r\n    try:\r\n        num = int(input(\"Enter a positive number: \"))\r\n\r\n        if num &lt; 0:\r\n            print(\"Negative number entered. Please try again.\")\r\n            continue\r\n\r\n        # Process the positive number here\r\n        print(\"You entered:\", num)\r\n\r\n    except ValueError:\r\n        print(\"Invalid input. Please enter a valid integer.\")\r<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Comment if you have any doubts or suggestions on this Python while loop code.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> IDE:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\">PyCharm<\/a>&nbsp;2021.3.3 (Community Edition)<\/p><p>Windows 10<\/p><p><strong>Python 3.10.1<\/strong><\/p><p>All<strong>&nbsp;Python Examples&nbsp;are in&nbsp;Python&nbsp;3<\/strong>, so Maybe its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>You can use the input() function to restart a while loop in Python. And use the if statement to restart the loop count. Here is the simple syntax for it, use your own logic. Example restart a while loop in Python Simple example code while loop restarts if the user enters &#8220;0&#8221;, otherwise the loop&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">How to restart a while loop in Python | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[36,170],"post_series":[],"class_list":["post-23089","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-loops","tag-python-while"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to restart a while loop in Python | Example code<\/title>\n<meta name=\"description\" content=\"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to restart a while loop in Python | Example code\" \/>\n<meta property=\"og:description\" content=\"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-10T07:02:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-27T11:34:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\",\"name\":\"How to restart a while loop in Python | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg\",\"datePublished\":\"2021-12-10T07:02:00+00:00\",\"dateModified\":\"2023-07-27T11:34:50+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg?fit=398%2C172&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg?fit=398%2C172&ssl=1\",\"width\":398,\"height\":172},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to restart a while loop in Python | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to restart a while loop in Python | Example code","description":"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.","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:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/","og_locale":"en_US","og_type":"article","og_title":"How to restart a while loop in Python | Example code","og_description":"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.","og_url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-12-10T07:02:00+00:00","article_modified_time":"2023-07-27T11:34:50+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/","name":"How to restart a while loop in Python | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg","datePublished":"2021-12-10T07:02:00+00:00","dateModified":"2023-07-27T11:34:50+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"You can use the input() function to restart a while loop in Python. And use the if statement to restart loop count.","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg?fit=398%2C172&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-restart-a-while-loop-in-Python.jpg?fit=398%2C172&ssl=1","width":398,"height":172},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/how-to-restart-a-while-loop-in-python-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"How to restart a while loop in Python | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":16885,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-one-line-if-else-for-a-loop-example-code\/","url_meta":{"origin":23089,"position":0},"title":"Python one line if-else for a loop | Example code","author":"Rohit","date":"July 26, 2021","format":false,"excerpt":"Simple Python one line if-else for a loop example code. >>> [(i) for i in my_list if i==\"two\"] ['two'] For loop and if-else condition in one line python If and else inside a one-line python loop. Counting how many numbers in the list is above the 20. list1 = [10,\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python one line if-else for a loop","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-one-line-if-else-for-a-loop.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":19129,"url":"https:\/\/tutorial.eyehunts.com\/python\/break-outside-loop-python-example-code\/","url_meta":{"origin":23089,"position":1},"title":"Break Outside loop Python | Example code","author":"Rohit","date":"September 5, 2021","format":false,"excerpt":"Use a break statement to terminate a loop suddenly by triggering a condition. It stops a loop from executing for any further iterations. The break statement can be used in any type of loop \u2013 while loop and for-loop. The break keyword is only be used inside a loop. But\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Break Outside loop Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Break-Outside-loop-Python-error.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":19095,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-break-nested-loop-example-code\/","url_meta":{"origin":23089,"position":2},"title":"Python break nested loop | Example code","author":"Rohit","date":"September 5, 2021","format":false,"excerpt":"A nested loop contains multiple loops, Using a break statement only breaks the inner loop, it only exits from the inner loop and the outer loop still continues. But we can use the else block with continuing keyword or flag variable to break the nested loop in Python. Example breaking\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python break nested loop","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-break-nested-loop.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":17731,"url":"https:\/\/tutorial.eyehunts.com\/python\/for-loop-string-python-example-code\/","url_meta":{"origin":23089,"position":3},"title":"For loop string Python | Example code","author":"Rohit","date":"November 4, 2021","format":false,"excerpt":"Using For loop in the string you can iterate over characters of a string in Python. How to loop through the string in Python example Simple example code of for loop is used for iterating over a sequence data string. for i in \"Hello\": print(i) Output: Python create string with\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"For loop string Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/For-loop-string-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21521,"url":"https:\/\/tutorial.eyehunts.com\/python\/double-for-loop-python-example-code\/","url_meta":{"origin":23089,"position":4},"title":"Double for loop Python | Example code","author":"Rohit","date":"October 29, 2021","format":false,"excerpt":"In Python, you can simply use a loop inside the loop to get double loops. In Double-loop The \"inner loop\" will be executed one time for each iteration of the \"outer loop\". for iterating_var in sequence: for iterating_var in sequence: statements(s) statements(s) Python Double for loop example Simple example code\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Double for loop Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Double-for-loop-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":33246,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-exit-for-loop-early\/","url_meta":{"origin":23089,"position":5},"title":"Python exit for loop early","author":"Rohit","date":"September 28, 2022","format":false,"excerpt":"If you want to exit a loop early in Python you can use break , just like in Java. It is used in conjunction with conditional statements (if-elif-else) to terminate the loop early if some condition is met. Python exit for loop early Simple example code. for i in range(5):\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python exit for loop early","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/09\/Python-exit-for-loop-early.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/23089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=23089"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/23089\/revisions"}],"predecessor-version":[{"id":41381,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/23089\/revisions\/41381"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=23089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=23089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=23089"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=23089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}