{"id":23030,"date":"2021-12-08T14:22:06","date_gmt":"2021-12-08T08:52:06","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=23030"},"modified":"2023-07-19T18:21:02","modified_gmt":"2023-07-19T12:51:02","slug":"python-choice-input-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/","title":{"rendered":"Python choice input | Example code"},"content":{"rendered":"\n<p>You have to use<a href=\"https:\/\/tutorial.eyehunts.com\/python\/while-true-python-while-loop-is-bad-break-out\/\"> while true<\/a> with <a href=\"https:\/\/tutorial.eyehunts.com\/python\/if-statement-true-python-example-code\/\">if statement<\/a> for multiple-choice input in Python. Multiple choice needed multiple<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-return-if-else-one-line-example-code\/\"> if-else statements<\/a>.<\/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 choice input example<\/strong><\/h2>\n\n\n\n<p>Simple example code. &#8220;Do you want to: A) Approach the house. B) Approach the stable. [A\/B]?&#8221; and stop when you enter <code>Q<\/code>. It would be up to you to continue this structure of code with more logic to suit your desired implementation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>while True:\n\n    d1a = input(\"Do you want to: \\n A) Approach the house. B) Approach the stable. &#91;A\/B]? : \")\n\n    if d1a == \"A\":\n        print(\"You approach the cottage.\")\n    elif d1a == \"B\":\n        print(\"You approach the stables.\")\n    elif d1a == \"Q\":\n        print(\"Nothing.\")\n        break\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=\"738\" height=\"302\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg?resize=738%2C302&#038;ssl=1\" alt=\"Python choice input\" class=\"wp-image-23036\"\/><\/figure><\/div>\n\n\n<p><strong>Note:<\/strong> Writing in this style will get difficult and complex. So split up code into functions, modules, etc.<\/p>\n\n\n\n<p><strong>Source<\/strong>:  stackoverflow.com<\/p>\n\n\n\n<p><strong>Another example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def get_user_choice():\r\n    options = {\r\n        '1': 'Option 1',\r\n        '2': 'Option 2',\r\n        '3': 'Option 3',\r\n        '4': 'Option 4',\r\n    }\r\n\r\n    while True:\r\n        print(\"Select an option:\")\r\n        for key, value in options.items():\r\n            print(f\"{key}: {value}\")\r\n\r\n        user_input = input(\"Enter the number of your choice: \")\r\n\r\n        if user_input in options:\r\n            return options&#91;user_input]\r\n        else:\r\n            print(\"Invalid choice. Please try again.\")\r\n\r\n# Example usage\r\nuser_choice = get_user_choice()\r\nprint(f\"You selected: {user_choice}\")\r<\/code><\/pre>\n\n\n\n<p>n this example, the <code>get_user_choice()<\/code> function presents the user with a list of options. The user is asked to enter the corresponding number of their choice. The function will keep asking until the user provides a valid input (a number corresponding to one of the options). Once a valid choice is made, the function returns the chosen option.<\/p>\n\n\n\n<p>Keep in mind that this is a basic example, and you can modify it according to your specific use case and the number of options you have. Additionally, you may want to add error handling to handle unexpected user inputs gracefully.<\/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 input program.<\/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 have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements. Python choice input example Simple example code. &#8220;Do you want to: A) Approach the house. B) Approach the stable. [A\/B]?&#8221; and stop when you enter Q. It would be up to you to continue this&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python choice input | 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":[263],"post_series":[],"class_list":["post-23030","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-input"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python choice input | Example code<\/title>\n<meta name=\"description\" content=\"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.\" \/>\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-choice-input-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python choice input | Example code\" \/>\n<meta property=\"og:description\" content=\"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-08T08:52:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-19T12:51:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/\",\"name\":\"Python choice input | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg\",\"datePublished\":\"2021-12-08T08:52:06+00:00\",\"dateModified\":\"2023-07-19T12:51:02+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg?fit=738%2C302&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg?fit=738%2C302&ssl=1\",\"width\":738,\"height\":302},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python choice input | 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=1777979855\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777979855\",\"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 choice input | Example code","description":"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.","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-choice-input-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python choice input | Example code","og_description":"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-12-08T08:52:06+00:00","article_modified_time":"2023-07-19T12:51:02+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/","name":"Python choice input | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg","datePublished":"2021-12-08T08:52:06+00:00","dateModified":"2023-07-19T12:51:02+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"You have to use while true with if statement for multiple-choice input in Python. Multiple choice needed multiple if-else statements.","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg?fit=738%2C302&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-choice-input.jpg?fit=738%2C302&ssl=1","width":738,"height":302},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-choice-input-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python choice input | 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=1777979855","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777979855","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":23043,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-make-a-multiple-choice-question-in-python-example-code\/","url_meta":{"origin":23030,"position":0},"title":"How to make a multiple-choice question in Python | Example code","author":"Rohit","date":"December 14, 2021","format":false,"excerpt":"Using while true with if statement you can make a multiple-choice question in Python. stop the loop if the user enters \"Q\". To create a multiple-choice question in Python, you can use a function to display the question and its choices, and then check the user's input against the correct\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\/12\/How-to-make-a-multiple-choice-question-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22994,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-while-loop-input-validation-example-code\/","url_meta":{"origin":23030,"position":1},"title":"Python while loop input validation | Example code","author":"Rohit","date":"December 13, 2021","format":false,"excerpt":"Data validation is important when the user input it. It makes sure it is valid before it is used in a computation. You can do Input Validation with While Loops in Python. Example while loop input validation in Python Simple example code While loop with List calculates BMI in Python.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python while loop input validation","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-while-loop-input-validation.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23107,"url":"https:\/\/tutorial.eyehunts.com\/python\/split-input-in-python-example-code\/","url_meta":{"origin":23030,"position":2},"title":"Split input in Python | Example code","author":"Rohit","date":"December 13, 2021","format":false,"excerpt":"With Split input, you can take multiple inputs from users in Python. The split () function breaks the given input by the specified separator (by default space). Example Split input in Python Simple example code taking two inputs at a time using input split method. Generally, the split() method is\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Split input in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Split-input-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23064,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-multiple-inputs-in-python-example-code\/","url_meta":{"origin":23030,"position":3},"title":"How to take multiple inputs in Python | Example code","author":"Rohit","date":"December 14, 2021","format":false,"excerpt":"Use a split() function to take multiple inputs in Python. This function helps in getting multiple inputs from users. It breaks the given input by the specified separator. input().split(separator, maxsplit) Example take multiple inputs in Python Simple example code takes multiple space-separated inputs without using a while loop. x, y,\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\/12\/How-to-take-multiple-inputs-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22992,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-multiple-inputs-in-python-using-while-loop-example-code\/","url_meta":{"origin":23030,"position":4},"title":"How to take multiple inputs in Python using while loop | Example code","author":"Rohit","date":"December 11, 2021","format":false,"excerpt":"Use While True to take multiple inputs in Python using a while loop. Don't forget to break the loop based on input. Here's a step-by-step guide on how to achieve this: Initialize an empty list to store the inputs. Set up a while loop with a condition that allows the\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\/12\/How-to-take-multiple-inputs-in-Python-using-while-loop.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23154,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-multiple-inputs-in-the-dictionary-in-python-example-code\/","url_meta":{"origin":23030,"position":5},"title":"How to take multiple inputs in the dictionary in Python | Example code","author":"Rohit","date":"December 11, 2021","format":false,"excerpt":"Using input() function with split() function and for in range can use to take multiple inputs in the dictionary in Python. Example take multiple inputs in the dictionary in Python Simple example code builds a dict from the input of [key, value] pairs separated by a space using just one\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to take multiple inputs in the dictionary in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-take-multiple-inputs-in-the-dictionary-in-Python.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\/23030","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=23030"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/23030\/revisions"}],"predecessor-version":[{"id":41140,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/23030\/revisions\/41140"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=23030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=23030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=23030"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=23030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}