{"id":16791,"date":"2021-11-02T18:07:08","date_gmt":"2021-11-02T12:37:08","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=16791"},"modified":"2023-02-07T18:13:31","modified_gmt":"2023-02-07T12:43:31","slug":"python-ternary-elif-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/","title":{"rendered":"Python ternary elif | Example code"},"content":{"rendered":"\n<p>The ternary operator has <strong>simply x if c else y<\/strong> <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-if-else-statement-with-or-operator-in-condition-expression-example-code\/\">condition statement<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>is_fast = True\ncar = \"Ferrari\" if is_fast else \"Sedan\"\n\nprint(car)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: Ferrari<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>But the question is this does the ternary operator with an additional elif statement possible in Python?<\/p>\n\n\n\n<p><strong>Answer<\/strong>: Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.<\/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>Python ternary elif example<\/strong><\/h2>\n\n\n\n<p>Simple example code nesting multiple ternary operators.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>x = 70\nprint(\"No\") if x &gt; 42 else print(\"Yes\") if x == 42 else print(\"What!\")\n\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=\"222\" height=\"117\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg?resize=222%2C117&#038;ssl=1\" alt=\"Python ternary elif\" class=\"wp-image-21831\"\/><\/figure><\/div>\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any doubts or suggestions on this Python ternary 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>The ternary operator has simply x if c else y condition statement. Output: Ferrari But the question is this does the ternary operator with an additional elif statement possible in Python? Answer: Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python ternary elif | 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":[252,251],"post_series":[],"class_list":["post-16791","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-elif","tag-python-ternary"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python ternary elif | Example code<\/title>\n<meta name=\"description\" content=\"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.\" \/>\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-ternary-elif-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python ternary elif | Example code\" \/>\n<meta property=\"og:description\" content=\"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-02T12:37:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-07T12:43:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.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-ternary-elif-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/\",\"name\":\"Python ternary elif | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg\",\"datePublished\":\"2021-11-02T12:37:08+00:00\",\"dateModified\":\"2023-02-07T12:43:31+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg?fit=222%2C117&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg?fit=222%2C117&ssl=1\",\"width\":222,\"height\":117},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python ternary elif | 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 ternary elif | Example code","description":"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.","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-ternary-elif-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python ternary elif | Example code","og_description":"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-11-02T12:37:08+00:00","article_modified_time":"2023-02-07T12:43:31+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.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-ternary-elif-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/","name":"Python ternary elif | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg","datePublished":"2021-11-02T12:37:08+00:00","dateModified":"2023-02-07T12:43:31+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Just using the ternary operator with an elif statement won\u2019t work (it\u2019ll throw a syntax error). But you can nest two ternary operators.","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg?fit=222%2C117&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-ternary-elif.jpg?fit=222%2C117&ssl=1","width":222,"height":117},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-elif-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python ternary elif | 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":16878,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-one-line-if-elif-statement-example-code\/","url_meta":{"origin":16791,"position":0},"title":"Python one line if elif statement | Example code","author":"Rohit","date":"July 26, 2021","format":false,"excerpt":"Python If elif statement is used for decision-making logic. You can validate multiple expressions using if-elif-else Statements. We can write this if..elif..else block in one-line using this syntax: expr1 if condition1 else expr2 if condition2 else expr Write If elif else in one line python Evaluate test expression and execute\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 elif statement","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-one-line-if-elif-statement.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":19526,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-elif-in-list-comprehension-conditionals-example-code\/","url_meta":{"origin":16791,"position":1},"title":"Python elif in list comprehension conditionals | Example code","author":"Rohit","date":"September 11, 2021","format":false,"excerpt":"There's no direct use \"elif\" construct ist comprehension conditionals, but it can be simulated with nested if\/else statements. Common if-else syntax ['Yes' if v == 1 else 'No' for v in l] The ternary form of the if\/else operator doesn't have an 'elif' built-in, but you can simulate it in\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python elif in list comprehension","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-elif-in-list-comprehension.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16826,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-if-else-one-line-example-code\/","url_meta":{"origin":16791,"position":2},"title":"Python if else one line | Example code","author":"Rohit","date":"July 30, 2021","format":false,"excerpt":"Python if-else one line can be used as a ternary operator. There is the conditional expression. a if cond else b but this is an expression, not a statement. Example code if..else in a single line in Python In python need to convert the if\u2026else statement to a one-line conditional\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\/2021\/07\/Python-if-else-one-line.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":7547,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-ternary-operator-conditional-expressions\/","url_meta":{"origin":16791,"position":3},"title":"Python Ternary Operator | conditional expressions","author":"Rohit","date":"February 12, 2020","format":false,"excerpt":"Python ternary operators or conditional expressions are used to evaluate something based on a condition being true or false. See the below The expression syntax of it. \u00a0Ternary Operator was\u00a0added\u00a0in python version 2.5. Syntax a if condition else b Let's Understand Ternary Operator syntax:- First\u00a0condition\u00a0is evaluated, then exactly one of\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\/2020\/02\/Python-Ternary-Operator-conditional-expressions.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/02\/Python-Ternary-Operator-conditional-expressions.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/02\/Python-Ternary-Operator-conditional-expressions.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/02\/Python-Ternary-Operator-conditional-expressions.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2020\/02\/Python-Ternary-Operator-conditional-expressions.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":16789,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-elif-statement-with-or-operator-in-condition-expression-example-code\/","url_meta":{"origin":16791,"position":4},"title":"Python elif Statement with OR Operator in Condition\/Expression &#8211; Example code","author":"Rohit","date":"July 20, 2021","format":false,"excerpt":"Python elif Statement with OR Operator using combines two basic conditional expressions in a Boolean expression. Checking weekday and weekend string in if statement. today = 'Sunday' if today == 'Monday': print('Your weekend is over. Go to work.') elif today == 'Sunday' or today == 'Saturday': print('Today is off.') else:\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python elif Statement with OR Operator in Condition","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/07\/Python-elif-Statement-with-OR-Operator-in-Condition.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16766,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-elif-statement-with-and-operator-example-code\/","url_meta":{"origin":16791,"position":5},"title":"Python elif Statement with AND Operator | Example code","author":"Rohit","date":"July 19, 2021","format":false,"excerpt":"Let' see how to use AND operator to combine two basic conditional expressions in the boolean expression of the Python elif condition statement. Example elif Statement with AND Operator in Python Simple python example code. mark = 50 if mark < 40: print('Failed') elif 40 < mark < 80 and\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\/2021\/07\/Python-elif-Statement-with-AND-Operator.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\/16791","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=16791"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/16791\/revisions"}],"predecessor-version":[{"id":35924,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/16791\/revisions\/35924"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=16791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=16791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=16791"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=16791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}