<?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>Factorial on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/factorial/</link><description>Recent content in Factorial 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/factorial/index.xml" rel="self" type="application/rss+xml"/><item><title>تعداد ارقام فاکتوریل</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/027-factorial-digit-count/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/027-factorial-digit-count/</guid><description>&lt;p&gt;&lt;strong&gt;#027&lt;/strong&gt; · &lt;strong&gt;Factorial Digit Count&lt;/strong&gt; · &lt;code&gt;math&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/027-factorial-digit-count/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="سوال"&gt;سوال&lt;/h1&gt;
&lt;p&gt;برنامه ای بنوسید که عددی را از ورودی بخواند و مشخص کند فاکتوریل عدد چند رقمی است.&lt;/p&gt;
&lt;h2 id="input"&gt;Input:&lt;/h2&gt;
&lt;p&gt;ورودی عددی بین 1 تا 100 خواهد بود&lt;/p&gt;
&lt;h2 id="output"&gt;Output:&lt;/h2&gt;
&lt;p&gt;در تنها سطر خروجی، تعداد رقم های فاکتوریل عدد ورودی را چاپ کنید&lt;/p&gt;
&lt;h1 id="example"&gt;Example:&lt;/h1&gt;
&lt;h2 id="test1-input"&gt;Test1 Input:&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;5
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="test1-output"&gt;Test1 Output:&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;3
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="explain-test1"&gt;Explain test1:&lt;/h2&gt;
&lt;p&gt;فاکتوریل عدد 5 برابر با 120 خواهد بود که عددی ۳ رقمی است.&lt;/p&gt;</description></item><item><title>جریمه سرعت با فاکتوریل</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/004-speed-fine-factorial/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/004-speed-fine-factorial/</guid><description>&lt;p&gt;&lt;strong&gt;#004&lt;/strong&gt; · &lt;strong&gt;Speed Fine Factorial&lt;/strong&gt; · &lt;code&gt;math&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/004-speed-fine-factorial/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;پلیس راه شهر کاراجا، تصمیم گرفته تغییراتی در برگه جریمه ایجاد کند تا شهروندان شهر کاراجا را تضویق به رعایت مقررات راهنمایی و رانندگی کند.&lt;/p&gt;
&lt;p&gt;برای این منظور اگر راننده ای سرعت مجاز را رعایت نکرده باشد، فاکتوریل بزرگترین رقم عدد میزان اختلاف سرعت با حد مجاز را به عنوان پاداش جریمه به برگه جریمه راننده اضافه میکند.&lt;/p&gt;</description></item></channel></rss>