<?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>Bounds on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/bounds/</link><description>Recent content in Bounds 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/bounds/index.xml" rel="self" type="application/rss+xml"/><item><title>الگوریتم محدودسازی</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/068-filter-by-limit-range/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/068-filter-by-limit-range/</guid><description>&lt;p&gt;&lt;strong&gt;#068&lt;/strong&gt; · &lt;strong&gt;Filter By Limit Range&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/068-filter-by-limit-range/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="limit-algorithm"&gt;Limit Algorithm&lt;/h1&gt;
&lt;p&gt;توی این مسئله به شما در سه خط، دیتای ورودی داده میشود.&lt;/p&gt;
&lt;p&gt;در خط اول به شما دنباله ای از اعداد داده میشود که با &amp;ldquo;,&amp;rdquo; از هم جدا شده اند.&lt;/p&gt;
&lt;p&gt;در خط دوم مقدار حداقل به شما داده میشود کف و حداقل مقدار اعداد را مشخص میکند یعنی اعداد شما باید بزرگتر یا مساوی این مقدار باشند.&lt;/p&gt;</description></item><item><title>اولین و آخرین وقوع</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/083-first-last-occurrence/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/083-first-last-occurrence/</guid><description>&lt;p&gt;&lt;strong&gt;#083&lt;/strong&gt; · &lt;strong&gt;First Last Occurrence&lt;/strong&gt; · &lt;code&gt;search&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/083-first-last-occurrence/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="first-and-last-occurance"&gt;First and Last Occurance&lt;/h1&gt;
&lt;p&gt;توی این برنامه از شما میخوایم که یک لیست نامرتب از اعداد رو دریافت کنید، اون رو مرتب کنید و داخل لیست مرتب شده، شماره ایندکس اولین مقدار از عدد و آخرین مقدار از عدد رو خروجی بدید!&lt;/p&gt;
&lt;h2 id="input-1"&gt;Input-1:&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;1 4 2 6 1 5 4 8 4 9 3 2 8 7 7 0 3 0 5 1 4 5
5
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="output-1"&gt;Output-1&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[0, 0, 1, 1, 1, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 6, 7, 7, 8, 8, 9, 5]
13
14
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>