{"id":5224,"date":"2019-12-07T09:15:12","date_gmt":"2019-12-07T03:45:12","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=5224"},"modified":"2026-11-13T11:57:38","modified_gmt":"2026-11-13T06:27:38","slug":"how-to-pass-two-or-more-lists-in-for-loop-using-python","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-pass-two-or-more-lists-in-for-loop-using-python\/","title":{"rendered":"How to Pass Two or More Lists in a for Loop Using Python"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Post Date:<\/strong> December 7, 2019<br><strong>Last Updated:<\/strong> November 13, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python provides several built-in functions that make working with lists and other iterables easier. One such function is <code>zip()<\/code>, which allows you to iterate over two or more lists simultaneously using a single <code>for<\/code> loop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this article, we will explore how to use Python&#8217;s <code>zip()<\/code> function to iterate over multiple lists, match corresponding values, and handle lists with different lengths using <code>itertools.zip_longest()<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Iterate Over Multiple Lists Using the zip() Function<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s take an example using Avengers characters. Suppose we want to match the names of some Avengers characters with the actors who played those roles.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will use four characters: Iron Man, Captain America, Thor, and Groot.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First, define two lists:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">avengers_characters = [\n    \"Iron Man\",\n    \"Captain America\",\n    \"Thor\",\n    \"Groot\"\n]\n\navengers_personalities = [\n    \"Robert Downey Jr.\",\n    \"Chris Evans\",\n    \"Chris Hemsworth\",\n    \"Vin Diesel\"\n]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now, we want to print each character along with the corresponding actor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can use a <code>for<\/code> loop with the <code>zip()<\/code> function:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">for characters, personalities in zip(\n    avengers_characters,\n    avengers_personalities\n):\n    print(\"{} played by {}\".format(characters, personalities))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Iron Man played by Robert Downey Jr.\nCaptain America played by Chris Evans\nThor played by Chris Hemsworth\nGroot played by Vin Diesel<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">What Is the zip() Function in Python?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>zip()<\/code> function takes two or more iterables and combines their corresponding elements into tuples.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a <code>for<\/code> loop, it allows us to process multiple lists in parallel. The first element of each iterable is paired together, followed by the second element of each iterable, and so on.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Syntax:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">zip(iterable1, iterable2, iterable3, ...)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>zip()<\/code> function returns an iterator of tuples in Python 3. You can convert it into a list if you need to view all the generated pairs:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">result = list(zip(avengers_characters, avengers_personalities))\n\nprint(result)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[\n    ('Iron Man', 'Robert Downey Jr.'),\n    ('Captain America', 'Chris Evans'),\n    ('Thor', 'Chris Hemsworth'),\n    ('Groot', 'Vin Diesel')\n]<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">What Happens When Two Lists Have Different Lengths?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default, the <code>zip()<\/code> function stops when the shortest iterable is exhausted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, consider the following lists:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">avengers_characters = [\n    \"Iron Man\",\n    \"Captain America\",\n    \"Thor\",\n    \"Groot\"\n]\n\navengers_personalities = [\n    \"Robert Downey Jr.\",\n    \"Chris Evans\",\n    \"Chris Hemsworth\"\n]<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The first list contains four elements, whereas the second list contains only three.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, execute the following code:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">for characters, personalities in zip(\n    avengers_characters,\n    avengers_personalities\n):\n    print(\"{} played by {}\".format(characters, personalities))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Iron Man played by Robert Downey Jr.\nCaptain America played by Chris Evans\nThor played by Chris Hemsworth<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see, Groot is not included because the second list does not contain a corresponding actor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>zip()<\/code> function does not raise an error in this situation. It simply stops when the shortest iterable has been processed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Iterate Over Lists with Different Lengths Using zip_longest()<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">What if we want to process every element, even when the lists have different lengths?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python provides the <code>zip_longest()<\/code> function through the <code>itertools<\/code> module.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unlike <code>zip()<\/code>, <code>zip_longest()<\/code> continues until the longest iterable is exhausted. Missing values are filled with <code>None<\/code> by default, or with a custom value specified using the <code>fillvalue<\/code> parameter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from itertools import zip_longest\n\navengers_characters = [\n    \"Iron Man\",\n    \"Captain America\",\n    \"Thor\",\n    \"Groot\"\n]\n\navengers_personalities = [\n    \"Robert Downey Jr.\",\n    \"Chris Evans\",\n    \"Chris Hemsworth\"\n]\n\nfor characters, personalities in zip_longest(\n    avengers_characters,\n    avengers_personalities\n):\n    print(\"{} played by {}\".format(characters, personalities))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Iron Man played by Robert Downey Jr.\nCaptain America played by Chris Evans\nThor played by Chris Hemsworth\nGroot played by None<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Here, <code>zip_longest()<\/code> processes all four characters. Since there is no corresponding actor for Groot, Python uses <code>None<\/code> as the default value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Using a Custom Fill Value<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can also specify a custom value instead of <code>None<\/code> by using the <code>fillvalue<\/code> parameter.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">from itertools import zip_longest\n\nfor characters, personalities in zip_longest(\n    avengers_characters,\n    avengers_personalities,\n    fillvalue=\"Not Available\"\n):\n    print(\"{} played by {}\".format(characters, personalities))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Iron Man played by Robert Downey Jr.\nCaptain America played by Chris Evans\nThor played by Chris Hemsworth\nGroot played by Not Available<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> In Python 3, use <code>itertools.zip_longest()<\/code> instead of <code>itertools.izip_longest()<\/code>. The older <code>izip_longest()<\/code> name was used in Python 2 and is not available in Python 3.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Iterate Over Three or More Lists Using zip()<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>zip()<\/code> function is not limited to two lists. You can pass three or more iterables and access their corresponding elements in the same <code>for<\/code> loop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">characters = [\"Iron Man\", \"Thor\", \"Hulk\"]\n\nactors = [\"Robert Downey Jr.\", \"Chris Hemsworth\", \"Mark Ruffalo\"]\n\nmovies = [\n    \"Avengers: Endgame\",\n    \"Thor: Ragnarok\",\n    \"Avengers: Age of Ultron\"\n]\n\nfor character, actor, movie in zip(characters, actors, movies):\n    print(\"{} played by {} in {}\".format(character, actor, movie))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Output:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">Iron Man played by Robert Downey Jr. in Avengers: Endgame\nThor played by Chris Hemsworth in Thor: Ragnarok\nHulk played by Mark Ruffalo in Avengers: Age of Ultron<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This approach makes it easier to process related information stored in multiple lists without using separate loops.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using zip(strict=True) to Check List Lengths<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python 3.10 and later support the <code>strict=True<\/code> parameter in <code>zip()<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When enabled, Python raises a <code>ValueError<\/code> if the input iterables have different lengths instead of silently stopping at the shortest one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">characters = [\"Iron Man\", \"Thor\", \"Hulk\"]\nactors = [\"Robert Downey Jr.\", \"Chris Hemsworth\"]\n\nfor character, actor in zip(characters, actors, strict=True):\n    print(\"{} played by {}\".format(character, actor))<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This raises a <code>ValueError<\/code> because the lists have different lengths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use <code>strict=True<\/code> when every list is expected to contain the same number of elements and you want Python to detect mismatches.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python&#8217;s <code>zip()<\/code> function provides a simple and efficient way to iterate over two or more lists simultaneously using a single <code>for<\/code> loop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a quick summary:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <code>zip()<\/code> to combine corresponding elements from multiple lists.<\/li>\n\n\n\n<li>Remember that <code>zip()<\/code> stops when the shortest iterable is exhausted.<\/li>\n\n\n\n<li>Use <code>itertools.zip_longest()<\/code> when you need to process all elements from the longest iterable.<\/li>\n\n\n\n<li>Use <code>fillvalue<\/code> to specify a replacement for missing values.<\/li>\n\n\n\n<li>Use <code>zip(strict=True)<\/code> in Python 3.10 and later when mismatched iterable lengths should raise an error.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Choosing the right function helps you write cleaner and more reliable Python code when working with multiple lists.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. How do you iterate over two lists simultaneously in Python?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the <code>zip()<\/code> function with a <code>for<\/code> loop:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">for item1, item2 in zip(list1, list2):\n    print(item1, item2)<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. What happens if two lists have different lengths when using zip()?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>zip()<\/code> function stops when the shortest iterable is exhausted. Remaining elements in longer lists are not processed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. What is the difference between zip() and zip_longest()?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>zip()<\/code> stops at the shortest iterable, whereas <code>itertools.zip_longest()<\/code> continues until the longest iterable is exhausted and fills missing values with <code>None<\/code> or a specified custom value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Is itertools.izip_longest() available in Python 3?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. In Python 3, use <code>itertools.zip_longest()<\/code>. The <code>izip_longest()<\/code> name belongs to Python 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Can we pass more than two lists to zip()?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. You can pass any number of iterables to <code>zip()<\/code>. It combines corresponding elements from each iterable into tuples.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.python.org\/3\/library\/functions.html#zip\" target=\"_blank\" rel=\"noopener\">Python Official Documentation \u2013 zip()<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/docs.python.org\/3\/library\/itertools.html#itertools.zip_longest\" target=\"_blank\" rel=\"noopener\">Python Official Documentation \u2013 itertools.zip_longest()<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/pheonixsolutions.com\/blog\/python-basics\/\">Python \u2013 Basics<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/pheonixsolutions.com\/blog\/the-walrus-operator-in-python-3-8\/\">What Is the Walrus Operator in Python? A Complete Guide to Assignment Expressions<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Need Assistance?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Need help with Python development, debugging, or optimizing your application?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/pheonixsolutions.com\/web-development\/\" data-type=\"link\" data-id=\"https:\/\/pheonixsolutions.com\/web-development\/\">Pheonix Solutions<\/a> technical team can assist you with Python development, application maintenance, and troubleshooting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For assistance, <a href=\"https:\/\/pheonixsolutions.com\/contact\/\" data-type=\"link\" data-id=\"https:\/\/pheonixsolutions.com\/contact\/\">contact us<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: December 7, 2019Last Updated: November 13, 2026 Introduction Python provides several built-in functions that make working with lists [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":13266,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[600,292],"class_list":["post-5224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-architecture","tag-list","tag-python","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1mg","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/12\/Python-Multiple-Lists-for-Loop-zip.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=5224"}],"version-history":[{"count":4,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5224\/revisions"}],"predecessor-version":[{"id":13268,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/5224\/revisions\/13268"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/13266"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=5224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=5224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=5224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}