{"id":22097,"date":"2021-11-12T09:04:21","date_gmt":"2021-11-12T03:34:21","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=22097"},"modified":"2023-03-22T16:24:27","modified_gmt":"2023-03-22T10:54:27","slug":"python-for-loop-index-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/","title":{"rendered":"Python for loop index | Example code"},"content":{"rendered":"\n<p>Using<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-range-function-example\/\"> the range() function <\/a>or <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-enumerate-function-example\/\">enumerate() function<\/a> will allow us to <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-iterate-list-with-index-example-code\/\">iterate <\/a>over a list and retrieve both the index and the value of each item in the Python list.<\/p>\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 get index and value using for loop in Python<\/strong><\/h2>\n\n\n\n<p>Simple example code loop over lists items with indexes.<\/p>\n\n\n\n<p><strong>Using enumerate<\/strong><\/p>\n\n\n\n<p>Use the enumerate() function to generate the index along with the elements of the sequence you are looping over. The <code>enumerate()<\/code> function returns a tuple containing the index and the value of each element in the list<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>items = &#91;\"a\", \"b\", \"c\"]\n\nfor count, item in enumerate(items):\n    print(count, item)\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=\"192\" height=\"162\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg?resize=192%2C162&#038;ssl=1\" alt=\"Python for loop index\" class=\"wp-image-22117\"\/><\/figure><\/div>\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Using range()<\/strong><\/p>\n\n\n\n<p>use <code>range(len(our_list))<\/code> and then look up the index like before:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>presidents = &#91;\"ABC\", \"XYZ\", \"PQR\"]\n\nfor i in range(len(presidents)):\n    print(\"President {}: {}\".format(i + 1, presidents&#91;i]))\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n\n<p>President 1: ABC<br>President 2: XYZ<br>President 3: PQR<\/p>\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 for loop topic.<\/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>Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each item in the Python list. Example get index and value using for loop in Python Simple example code loop over lists items with indexes. Using enumerate Use the enumerate() function&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python for loop index | 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":[184,165,36],"post_series":[],"class_list":["post-22097","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-for","tag-python-index","tag-python-loops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python for loop index | Example code<\/title>\n<meta name=\"description\" content=\"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...\" \/>\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\/python-for-loop-index-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python for loop index | Example code\" \/>\n<meta property=\"og:description\" content=\"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-12T03:34:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-22T10:54:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.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\/python-for-loop-index-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/\",\"name\":\"Python for loop index | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg\",\"datePublished\":\"2021-11-12T03:34:21+00:00\",\"dateModified\":\"2023-03-22T10:54:27+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg?fit=192%2C162&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg?fit=192%2C162&ssl=1\",\"width\":192,\"height\":162},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python for loop index | 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":"Python for loop index | Example code","description":"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...","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\/python-for-loop-index-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python for loop index | Example code","og_description":"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-11-12T03:34:21+00:00","article_modified_time":"2023-03-22T10:54:27+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.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\/python-for-loop-index-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/","name":"Python for loop index | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg","datePublished":"2021-11-12T03:34:21+00:00","dateModified":"2023-03-22T10:54:27+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Using the range() function or enumerate() function will allow us to iterate over a list and retrieve both the index and the value of each...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg?fit=192%2C162&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-for-loop-index.jpg?fit=192%2C162&ssl=1","width":192,"height":162},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-index-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python for loop index | 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":22191,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-enumerate-list-example-code\/","url_meta":{"origin":22097,"position":0},"title":"Python enumerate list | Example code","author":"Rohit","date":"November 14, 2021","format":false,"excerpt":"The Python enumerate() function adds a counter to iterable objects like a list. This method will allow you to loop over a list of items while keeping track of the index value in a separate variable. enumerate(iterable, start=0) The start is an optional argument for counting the index, the default\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python enumerate list","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-enumerate-list.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22101,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-enumerate-for-loop-example-code\/","url_meta":{"origin":22097,"position":1},"title":"Python enumerate for loop | Example code","author":"Rohit","date":"November 13, 2021","format":false,"excerpt":"Using enumerate() function gives you back two loop variables. The count of the current iteration and the value of the item at the current iteration. The enumerate() function in Python is used to loop over an iterable while keeping track of the index or position of the current item. This\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python enumerate for loop","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-enumerate-for-loop.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22186,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-enumerate-string-example-code\/","url_meta":{"origin":22097,"position":2},"title":"Python enumerate string | Example code","author":"Rohit","date":"November 15, 2021","format":false,"excerpt":"Using the Python enumerate function in the string, you can loop over it and will get a value with the index. The Enumerate() command adds a counter to each item of the iterable object and returns an enumerate object as an output string. enumerate(iterable, startIndex) Enumerate allows you to loop\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python enumerate string","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-enumerate-string.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":32848,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-iterating\/","url_meta":{"origin":22097,"position":3},"title":"Python Iterating","author":"Rohit","date":"August 4, 2023","format":false,"excerpt":"In Python, iterating refers to the process of looping through elements in a sequence or collection one by one. Python provides several ways to iterate over data, such as lists, tuples, dictionaries, sets, strings, and more. Here are some common methods for iterating in Python: For loop: The for loop\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/08\/Python-Iterating.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/08\/Python-Iterating.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/08\/Python-Iterating.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":19133,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-for-loop-next-item-example-code\/","url_meta":{"origin":22097,"position":4},"title":"Python for loop next item | Example code","author":"Rohit","date":"September 3, 2021","format":false,"excerpt":"Use enumerate() function to access the next item in a list in python for a loop. The for loop allows to access the variables next to the current value of the indexing variable in the list. Python example for loop get next item Simple example code accessing Next Element While\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python for loop next item","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-for-loop-next-item.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2591,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-enumerate-function-example\/","url_meta":{"origin":22097,"position":5},"title":"Python Enumerate Function | Why this is useful?\u00a0","author":"Rohit","date":"September 21, 2018","format":false,"excerpt":"Python Enumerate Function\u00a0is a generator that adds an incremental index next to each item of an iterable. In short, it produces the elements of an iterator, as well as an index number in the form of tuples.\u00a0Enumerate function is inbuilt python, you don't need to import any module for it.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python Enumerate Function | Why this is useful?\u00a0","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Enumerate-Function-example-Why-this-is-useful-.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Enumerate-Function-example-Why-this-is-useful-.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Enumerate-Function-example-Why-this-is-useful-.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Enumerate-Function-example-Why-this-is-useful-.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/09\/Python-Enumerate-Function-example-Why-this-is-useful-.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22097","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=22097"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22097\/revisions"}],"predecessor-version":[{"id":37277,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22097\/revisions\/37277"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=22097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=22097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=22097"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=22097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}