<?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>Pairs on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/pairs/</link><description>Recent content in Pairs 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/pairs/index.xml" rel="self" type="application/rss+xml"/><item><title>دو جمع با بیشترین تفاضل</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/079-two-sum-max-diff/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/079-two-sum-max-diff/</guid><description>&lt;p&gt;&lt;strong&gt;#079&lt;/strong&gt; · &lt;strong&gt;Two Sum Max Diff&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/079-two-sum-max-diff/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="two-sum"&gt;Two Sum&lt;/h1&gt;
&lt;p&gt;برنامه ای بنویسید که یک لیست از اعداد را دریافت کند. سپس یک عدد دریافت کند و مشخص کند آیا در لیست داده شده از اعداد، دو عدد وجود دارند که مجموع آنها برابر با عدد داده شده باشد یا خیر.&lt;/p&gt;
&lt;p&gt;اگر وجود داشت آن دو عدد را خروجی دهید در غیر این صورت None خروجی داده شود.&lt;/p&gt;</description></item></channel></rss>