<?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>Sorting on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/categories/sorting/</link><description>Recent content in Sorting 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/categories/sorting/index.xml" rel="self" type="application/rss+xml"/><item><title>تَخَطّی‌گَری</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/048-alternating-case-sort/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/048-alternating-case-sort/</guid><description>&lt;p&gt;&lt;strong&gt;#048&lt;/strong&gt; · &lt;strong&gt;Alternating Case Sort&lt;/strong&gt; · &lt;code&gt;sorting&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://quera.org/problemset/129728/"&gt;منبع سوال&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Amirmahdikahdouii/Python-Exercises/blob/master/problems/048-alternating-case-sort/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="تخطیگری"&gt;تَخَطّی‌گَری&lt;/h1&gt;
&lt;p&gt;صورت سوال به همراه تست کیس هارا در &lt;a href="https://quera.org/problemset/129728/"&gt;quera.org&lt;/a&gt; بخوانید!&lt;/p&gt;</description></item><item><title>رده‌بندی اساتید</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/053-professor-h-index/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/053-professor-h-index/</guid><description>&lt;p&gt;&lt;strong&gt;#053&lt;/strong&gt; · &lt;strong&gt;Professor H-Index&lt;/strong&gt; · &lt;code&gt;sorting&lt;/code&gt; · &lt;code&gt;medium&lt;/code&gt; · &lt;code&gt;python&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://quera.org/problemset/181333/"&gt;منبع سوال&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Amirmahdikahdouii/Python-Exercises/blob/master/problems/053-professor-h-index/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="رده-بندی-اساتید"&gt;رده بندی اساتید&lt;/h1&gt;
&lt;p&gt;صورت سوال به همراه تست کیس ها رو توی &lt;a href="https://quera.org/problemset/181333/"&gt;quera.org&lt;/a&gt; بخونین!&lt;/p&gt;</description></item><item><title>مرتب‌سازی حبابی</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/066-bubble-sort-algorithm/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/066-bubble-sort-algorithm/</guid><description>&lt;p&gt;&lt;strong&gt;#066&lt;/strong&gt; · &lt;strong&gt;Bubble Sort Algorithm&lt;/strong&gt; · &lt;code&gt;sorting&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/066-bubble-sort-algorithm/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="bubble-sort"&gt;Bubble Sort&lt;/h1&gt;
&lt;p&gt;Bubble sort algorithm for sorting unordered integer lists&lt;/p&gt;</description></item><item><title>مرتب‌سازی مهره‌ای</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/075-bead-sort-algorithm/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/075-bead-sort-algorithm/</guid><description>&lt;p&gt;&lt;strong&gt;#075&lt;/strong&gt; · &lt;strong&gt;Bead Sort Algorithm&lt;/strong&gt; · &lt;code&gt;sorting&lt;/code&gt; · &lt;code&gt;medium&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/075-bead-sort-algorithm/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="bead-sort"&gt;Bead sort&lt;/h1&gt;
&lt;p&gt;برنامه ای بنویسید که یک لیست از اعداد که در ورودی با فاصله از هم جدا شده اند را دریافت کند و لیست مرتب شده آنها را خروجی دهد!&lt;/p&gt;
&lt;p&gt;اگر در اعداد عددی منفی وجود داشت نیز برنامه یک ValueError باید برگرداند.&lt;/p&gt;
&lt;h2 id="input"&gt;Input:&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;5 10 48 0 26 41 45 974 101 102
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="output"&gt;Output:&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[0, 5, 10, 26, 41, 45, 48, 101, 102, 974]
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>