{"id":3906,"date":"2021-10-31T17:40:08","date_gmt":"2021-10-31T20:40:08","guid":{"rendered":"https:\/\/renanmf.com\/?p=3906"},"modified":"2023-04-16T15:11:30","modified_gmt":"2023-04-16T18:11:30","slug":"python-for-loop-increment-by-2","status":"publish","type":"post","link":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/","title":{"rendered":"Python for loop increment by 2"},"content":{"rendered":"<p>A regular <code>for<\/code> loop will increase its iteration counter by one in each iteration.<\/p>\n<p>But there are situations where you want to increment the iteration counter by 2.<\/p>\n<p>For some reason you might want to work with only even values.<\/p>\n<p>Let&#8217;s see a few solutions for this.<\/p>\n<h2>range function<\/h2>\n<p>The solution to increment a for loop by 2 in Python is to use the <code>range()<\/code> function.<\/p>\n<p>This function allows you to specify three parameters: <code>start<\/code>, <code>stop<\/code>, and <code>step<\/code>.<\/p>\n<p><code>start<\/code> is the counter&#8217;s initial value, <code>step<\/code> is by how much you want to increment until you reach the value of <code>stop - 1<\/code>, because the value of stop is included.<\/p>\n<p>The example bellow shows how to use <code>range()<\/code> with a step of 2 starting from 0.<\/p>\n<pre><code class=\"language-python\">for i in range(0,20,2):\n    print(i)<\/code><\/pre>\n<p>The output:<\/p>\n<pre><code>0\n2\n4\n6\n8\n10\n12\n14\n16\n18<\/code><\/pre>\n<p>Of course, you can use <code>range()<\/code> to specify any step you would like, so if you want a step of 5, just do:<\/p>\n<pre><code class=\"language-python\">for i in range(0,20,5):\n    print(i)<\/code><\/pre>\n<p>The output is:<\/p>\n<pre><code>0\n5\n10\n15<\/code><\/pre>\n<h2>Slicing<\/h2>\n<p>If you never heard of slicing before, I recommend you to read <a href=\"https:\/\/renanmf.com\/slicing-python\/\">Understanding Slicing in Python<\/a> first, there is also a video linked in the article if you prefer.<\/p>\n<p>Slicing is useful when you want to apply a different step when working with a pre-defined list.<\/p>\n<p>In this case I have a list <code>numbers<\/code> with the number from 1 to 16.<\/p>\n<p>The logic is very similar to <code>range()<\/code>, since you also have a <code>start<\/code>, a <code>stop<\/code>, and a <code>step<\/code>.<\/p>\n<p>In this case I&#8217;m starting on index 1, which is the number 2 in the list, remember lists are 0-indexed in Python.<\/p>\n<p>I won&#8217;t put any <code>stop<\/code> value since I want to go until the last index.<\/p>\n<p>Finally, I put a step of 2.<\/p>\n<pre><code class=\"language-python\">numbers = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]\n\nfor i in numbers[1::2]:\n    print(i)<\/code><\/pre>\n<p>The output will be:<\/p>\n<pre><code>2\n4\n6\n8\n10\n12\n14\n16<\/code><\/pre>\n<p>Another way to implement the slicing from the code above is to combine <code>range()<\/code> with <a href=\"https:\/\/renanmf.com\/get-number-elements-list-python\/\"><code>len()<\/code><\/a>:<\/p>\n<pre><code class=\"language-python\">numbers = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]\n\nfor i in range(1, len(numbers), 2):\n   print(numbers[i])<\/code><\/pre>\n<p>The output is the same:<\/p>\n<pre><code>2\n4\n6\n8\n10\n12\n14\n16<\/code><\/pre>\n<p>Again, the same way we could use any step in <code>range()<\/code>, we can change the step in slicing to anything we would like.<\/p>\n<h2>What about about float values?<\/h2>\n<p>An extra trick is how to achieve the same thing with float values.<\/p>\n<p>In this case you have to use the library numpy and its function <code>arange<\/code>.<\/p>\n<p>This way you can use floats as <code>start<\/code>, <code>stop<\/code>, and <code>step<\/code>.<\/p>\n<pre><code class=\"language-python\">import numpy as np\n\nfor i in np.arange(1.5, 2.5, 0.1):\n    print (i)<\/code><\/pre>\n<p>The output is:<\/p>\n<pre><code>1.5\n1.6\n1.7000000000000002\n1.8000000000000003\n1.9000000000000004\n2.0000000000000004\n2.1000000000000005\n2.2000000000000006\n2.3000000000000007\n2.400000000000001<\/code><\/pre>\n<h2>Watch this on Youtube:<\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/tlI_DUE2IPg\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A regular for loop will increase its iteration counter by one in each iteration. But there are situations where you want to increment the iteration counter by 2. For some reason you might want to work with only even values. Let&#8217;s see a few solutions for this. range function The solution to increment a for [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":3918,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6],"class_list":["post-3906","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-python"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python for loop increment by 2<\/title>\n<meta name=\"description\" content=\"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python for loop increment by 2\" \/>\n<meta property=\"og:description\" content=\"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Renan Moura - Software Engineering\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/renanmouraf\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-31T20:40:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-16T18:11:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Renan Moura\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/renanmouraf\" \/>\n<meta name=\"twitter:site\" content=\"@renanmouraf\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Renan Moura\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/\"},\"author\":{\"name\":\"Renan Moura\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/person\\\/1a6fd46256318d200c1c8a867448e5a8\"},\"headline\":\"Python for loop increment by 2\",\"datePublished\":\"2021-10-31T20:40:08+00:00\",\"dateModified\":\"2023-04-16T18:11:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/\"},\"wordCount\":349,\"publisher\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Banner-Post-4.jpg\",\"keywords\":[\"python\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/\",\"url\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/\",\"name\":\"Python for loop increment by 2\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Banner-Post-4.jpg\",\"datePublished\":\"2021-10-31T20:40:08+00:00\",\"dateModified\":\"2023-04-16T18:11:30+00:00\",\"description\":\"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Banner-Post-4.jpg\",\"contentUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/Banner-Post-4.jpg\",\"width\":2240,\"height\":1260,\"caption\":\"Python for loop increment by 2\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/python-for-loop-increment-by-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/renanmf.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python for loop increment by 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#website\",\"url\":\"https:\\\/\\\/renanmf.com\\\/\",\"name\":\"Renan Moura - Software Engineering\",\"description\":\"Software development, machine learning\",\"publisher\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/renanmf.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#organization\",\"name\":\"Renan Moura\",\"url\":\"https:\\\/\\\/renanmf.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/me-e1583179172701.jpeg\",\"contentUrl\":\"https:\\\/\\\/renanmf.com\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/me-e1583179172701.jpeg\",\"width\":120,\"height\":120,\"caption\":\"Renan Moura\"},\"image\":{\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/renanmouraf\",\"https:\\\/\\\/x.com\\\/renanmouraf\",\"https:\\\/\\\/instagram.com\\\/renanmouraf\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/renanmouraf\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/renanmf.com\\\/#\\\/schema\\\/person\\\/1a6fd46256318d200c1c8a867448e5a8\",\"name\":\"Renan Moura\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g\",\"caption\":\"Renan Moura\"},\"description\":\"I'm a Software Engineer working in the industry for a decade now. I like to solve problems with as little code as possible. I\u2019m interested in solving all sorts of problems with technology in creative and innovative ways. From everyday shell scripts to machine learning models. I write about Software Development, Machine Learning, and Career in tech.\",\"sameAs\":[\"https:\\\/\\\/renanmf.com\\\/\",\"https:\\\/\\\/www.instagram.com\\\/renanmouraf\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/renanmouraf\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/renanmouraf\"],\"url\":\"https:\\\/\\\/renanmf.com\\\/author\\\/renanmoura\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python for loop increment by 2","description":"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.","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:\/\/renanmf.com\/python-for-loop-increment-by-2\/","og_locale":"en_US","og_type":"article","og_title":"Python for loop increment by 2","og_description":"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.","og_url":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/","og_site_name":"Renan Moura - Software Engineering","article_publisher":"https:\/\/www.facebook.com\/renanmouraf","article_published_time":"2021-10-31T20:40:08+00:00","article_modified_time":"2023-04-16T18:11:30+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg","type":"image\/jpeg"}],"author":"Renan Moura","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/renanmouraf","twitter_site":"@renanmouraf","twitter_misc":{"Written by":"Renan Moura","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#article","isPartOf":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/"},"author":{"name":"Renan Moura","@id":"https:\/\/renanmf.com\/#\/schema\/person\/1a6fd46256318d200c1c8a867448e5a8"},"headline":"Python for loop increment by 2","datePublished":"2021-10-31T20:40:08+00:00","dateModified":"2023-04-16T18:11:30+00:00","mainEntityOfPage":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/"},"wordCount":349,"publisher":{"@id":"https:\/\/renanmf.com\/#organization"},"image":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#primaryimage"},"thumbnailUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg","keywords":["python"],"articleSection":["Python"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/","url":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/","name":"Python for loop increment by 2","isPartOf":{"@id":"https:\/\/renanmf.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#primaryimage"},"image":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#primaryimage"},"thumbnailUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg","datePublished":"2021-10-31T20:40:08+00:00","dateModified":"2023-04-16T18:11:30+00:00","description":"How to use range and slicing to increment by 2 in a for loop, and also learn how to change the step with float numbers.","breadcrumb":{"@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/renanmf.com\/python-for-loop-increment-by-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#primaryimage","url":"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg","contentUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2021\/10\/Banner-Post-4.jpg","width":2240,"height":1260,"caption":"Python for loop increment by 2"},{"@type":"BreadcrumbList","@id":"https:\/\/renanmf.com\/python-for-loop-increment-by-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/renanmf.com\/"},{"@type":"ListItem","position":2,"name":"Python for loop increment by 2"}]},{"@type":"WebSite","@id":"https:\/\/renanmf.com\/#website","url":"https:\/\/renanmf.com\/","name":"Renan Moura - Software Engineering","description":"Software development, machine learning","publisher":{"@id":"https:\/\/renanmf.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/renanmf.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/renanmf.com\/#organization","name":"Renan Moura","url":"https:\/\/renanmf.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/renanmf.com\/#\/schema\/logo\/image\/","url":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/03\/me-e1583179172701.jpeg","contentUrl":"https:\/\/renanmf.com\/wp-content\/uploads\/2020\/03\/me-e1583179172701.jpeg","width":120,"height":120,"caption":"Renan Moura"},"image":{"@id":"https:\/\/renanmf.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/renanmouraf","https:\/\/x.com\/renanmouraf","https:\/\/instagram.com\/renanmouraf","https:\/\/www.linkedin.com\/in\/renanmouraf\/"]},{"@type":"Person","@id":"https:\/\/renanmf.com\/#\/schema\/person\/1a6fd46256318d200c1c8a867448e5a8","name":"Renan Moura","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/efb78bdd04aa5627f80307aed5a9b31989d901c536d1e014a29a3c3591338af8?s=96&d=mm&r=g","caption":"Renan Moura"},"description":"I'm a Software Engineer working in the industry for a decade now. I like to solve problems with as little code as possible. I\u2019m interested in solving all sorts of problems with technology in creative and innovative ways. From everyday shell scripts to machine learning models. I write about Software Development, Machine Learning, and Career in tech.","sameAs":["https:\/\/renanmf.com\/","https:\/\/www.instagram.com\/renanmouraf\/","https:\/\/www.linkedin.com\/in\/renanmouraf\/","https:\/\/x.com\/https:\/\/twitter.com\/renanmouraf"],"url":"https:\/\/renanmf.com\/author\/renanmoura\/"}]}},"_links":{"self":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/3906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/comments?post=3906"}],"version-history":[{"count":9,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/3906\/revisions"}],"predecessor-version":[{"id":4156,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/posts\/3906\/revisions\/4156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/media\/3918"}],"wp:attachment":[{"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/media?parent=3906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/categories?post=3906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/renanmf.com\/wp-json\/wp\/v2\/tags?post=3906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}