{"id":16675,"date":"2023-06-05T06:36:54","date_gmt":"2023-06-05T06:36:54","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=16675"},"modified":"2023-07-04T09:45:34","modified_gmt":"2023-07-04T09:45:34","slug":"find-greatest-of-two-numbers-in-python","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/","title":{"rendered":"Find Greatest Of Two Numbers In Python"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\" alt=\"\" \/><\/p>\n<p>Given two integer inputs, the objective is to find the largest number among the two integer inputs. In order to do so, we usually use if-else statements to check which one is greater. <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946128244-1-01%20%288%29.png\" alt=\"\" \/><\/p>\n<p>Example to find greatest of two numbers in Python:<br \/>\n<strong>Input:<\/strong> 20 10<br \/>\n<strong>Output:<\/strong> 20<\/p>\n<p>Here are some of the Python methods to solve the above-mentioned problem.<\/p>\n<ol>\n<li>Using if-else<\/li>\n<li>Using max() function<\/li>\n<li>Using ternary operator<\/li>\n<li>Using lambda function<\/li>\n<li>Using list<\/li>\n<li>Using sort() function <\/li>\n<\/ol>\n<h2>Using if-else to find greatest of two numbers in Python<\/h2>\n<pre><code>def maximum(a, b):\nif a >= b:\nreturn a\nelse:\nreturn b\n\na = 2\nb = 4\nprint(maximum(a, b))<\/code><\/pre>\n<p><strong>Output <\/strong><\/p>\n<pre><code>4<\/code><\/pre>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<h2>Using max() function to find greatest of two numbers in Python<\/h2>\n<pre><code>a = 2\nb = 4\nmaximum = max(a, b)\nprint(maximum) <\/code><\/pre>\n<p><strong>Output<\/strong> <\/p>\n<pre><code>4<\/code><\/pre>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<h2>Using ternary operator to find greatest of two numbers in Python<\/h2>\n<pre><code>a = 2\nb = 4\nprint(a if a >= b else b)<\/code><\/pre>\n<p><strong>Output<\/strong> <\/p>\n<pre><code>4<\/code><\/pre>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<h2>Using lambda function to find greatest of two numbers in Python<\/h2>\n<pre><code>a=2\nb=4\nmaximum = lambda a,b:a if a > b else b\nprint(maximum(a,b))<\/code><\/pre>\n<p><strong>Output<\/strong> <\/p>\n<pre><code>4<\/code><\/pre>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<h2>Using list to find greatest of two numbers in Python<\/h2>\n<pre><code>a=2;b=4\nx=[a if a>b else b]\nprint(x)<\/code><\/pre>\n<p><strong>Output<\/strong> <\/p>\n<pre><code>4<\/code><\/pre>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<h2>Using sort() function to find greatest of two numbers in Python<\/h2>\n<pre><code>a = 2\nb = 4\nx=[a,b]\nx.sort()\nprint(x[-1])<\/code><\/pre>\n<p><strong>Output<\/strong><br \/>\n4<\/p>\n<p><strong>Time complexity:<\/strong> O(1)<br \/>\n<strong>Space complexity:<\/strong> O(1)<\/p>\n<p><strong>Conclusion<\/strong><br \/>\nFinally, we looked at various Python methods for finding the greatest of two numbers. If-else statements, the max() function, the ternary operator, lambda functions, using a list, and the sort() function are among the methods covered.<\/p>\n<p>These methods offer various approaches to efficiently solving the problem.  The if-else method compares the two numbers and returns the greater of the two. maxThe max() function finds the maximum value directly. The ternary operator compares and returns the maximum number in a concise manner.  Using a list, we can save the lambdas and retrieve the maximum. To determine the maximum, lambda functions generate an anonymous function. It allows us to store the numbers and retrieve the maximum. The sort() function sorts the numbers and returns the last element, which is the maximum.<\/p>\n<p>Because they operate on a fixed number of inputs, each method has a time complexity of O(1) and a space complexity of O(1).<\/p>\n<p>Understanding these techniques allows developers to select the best method for finding the greatest of two numbers in Python based on readability, code simplicity, and specific requirements.<\/p>\n<h2>Frequently Asked Questions (FAQs)<\/h2>\n<p><strong>Q1. In Python, which method is the most efficient for finding the greater of two numbers?<\/strong><br \/>\nBecause all of the methods mentioned have the same time and space complexity of O(1), they are all equally efficient. The method chosen is determined by factors such as code readability and personal preference.<\/p>\n<p><strong>Q2. Can these methods handle decimal points and negative values?<\/strong><br \/>\nYes, these methods can easily handle numbers with decimal points or negative values. They are applicable to both integers and floating-point numbers.<\/p>\n<p><strong>Q3. Is there a significant performance difference between if-else statements and the max() function?<\/strong><br \/>\nThe if-else statements and the max() function are very similar in terms of performance and efficiency. However, when dealing with multiple numbers, the max() function provides a more concise and readable solution.<\/p>\n<p><strong>Q4. Is there anything to consider when employing the lambda function approach?<\/strong><br \/>\nThe lambda function approach is suitable for simple comparisons such as determining which of two numbers is greater. However, for complex scenarios involving multiple conditions or complex expressions, it may become less readable and manageable. <\/p>\n<p><strong>Q5. How can I modify these techniques to find the greatest of multiple numbers instead of just two?<\/strong><br \/>\nTo find the greatest of multiple numbers, you can modify the methods by either using nested if-else statements or by utilizing the max() function with multiple arguments. For example, if you have a list of numbers, you can use max(list_of_numbers) to find the greatest value.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Given two integer inputs, the objective is to find the largest number among the two integer inputs. In order to do so, we usually use if-else statements to check which one is greater. Example to find greatest of two numbers in Python: Input: 20 10 Output: 20 Here are some of the Python methods to [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[154],"tags":[],"class_list":["post-16675","post","type-post","status-publish","format-standard","hentry","category-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Find Greatest Of Two Numbers In Python<\/title>\n<meta name=\"description\" content=\"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Find Greatest Of Two Numbers In Python\" \/>\n<meta property=\"og:description\" content=\"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-05T06:36:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-04T09:45:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"Find Greatest Of Two Numbers In Python\",\"datePublished\":\"2023-06-05T06:36:54+00:00\",\"dateModified\":\"2023-07-04T09:45:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\"},\"wordCount\":610,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\",\"name\":\"Find Greatest Of Two Numbers In Python\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\",\"datePublished\":\"2023-06-05T06:36:54+00:00\",\"dateModified\":\"2023-07-04T09:45:34+00:00\",\"description\":\"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Find Greatest Of Two Numbers In Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Find Greatest Of Two Numbers In Python","description":"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.","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:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Find Greatest Of Two Numbers In Python","og_description":"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.","og_url":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-06-05T06:36:54+00:00","article_modified_time":"2023-07-04T09:45:34+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"Find Greatest Of Two Numbers In Python","datePublished":"2023-06-05T06:36:54+00:00","dateModified":"2023-07-04T09:45:34+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/"},"wordCount":610,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/","url":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/","name":"Find Greatest Of Two Numbers In Python","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg","datePublished":"2023-06-05T06:36:54+00:00","dateModified":"2023-07-04T09:45:34+00:00","description":"Find Greatest Of Two Numbers In Python can execute using the max() function, the ternary operator, lambda functions, using a list, and the sort() function.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1685946091246-Find%20greatest%20of%20two%20numbers%20in%20Python.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/find-greatest-of-two-numbers-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/prepbytes.com\/blog\/category\/python\/"},{"@type":"ListItem","position":3,"name":"Find Greatest Of Two Numbers In Python"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/16675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=16675"}],"version-history":[{"count":1,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/16675\/revisions"}],"predecessor-version":[{"id":16676,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/16675\/revisions\/16676"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=16675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=16675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=16675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}