<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Interleaving on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/interleaving/</link><description>Recent content in Interleaving on Python Exercises</description><generator>Hugo</generator><language>fa-ir</language><lastBuildDate>Sat, 06 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://amirmahdikahdouii.github.io/Python-Exercises/tags/interleaving/index.xml" rel="self" type="application/rss+xml"/><item><title>ادغام زیگزاگ دو لیست</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/077-zigzag-merge-lists/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/077-zigzag-merge-lists/</guid><description>&lt;p&gt;&lt;strong&gt;#077&lt;/strong&gt; · &lt;strong&gt;Zigzag Merge Lists&lt;/strong&gt; · &lt;code&gt;arrays&lt;/code&gt; · &lt;code&gt;easy&lt;/code&gt; · &lt;code&gt;python&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Amirmahdikahdouii/Python-Exercises/blob/master/problems/077-zigzag-merge-lists/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="zigzag-generator"&gt;ZigZag generator&lt;/h1&gt;
&lt;p&gt;برنامه ای بنویسید که دو لیست از اعداد را دریافت کند و آیتم های آنها را یکی یکی در کنار هم قرار داده و خروجی دهد.&lt;/p&gt;
&lt;p&gt;اگر یک لیست آیتم های بیشتری از دیگری داشت، باید بقیه اعضای باقی مانده را در انتهای لیست قرار دهد.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ورودی:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;ورودی شامل دو خط میباشد:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;در خط اول ورودی به شما لیست اعداد اول داده میشود&lt;/li&gt;
&lt;li&gt;در خط دوم ورودی لیست اعداد دوم داده میشود&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;نکته:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>