Telegram Group & Telegram Channel
چالش شماره 20
برنامه ای بنویسید که یک عدد را از کاربر دریافت کند و اعلام کند که آیا این عدد یک عدد کامل است یا خیر؟
یک عدد کامل (perfect number) عددی است که با مجموع مقسوم علیه‌های خود (بغیر از خود عدد) برابر می باشد. کوچکترین عدد کامل عبارت است از ٦، زیر داریم:
6 = 1 + 2 + 3
اعداد کامل بعدی عبارتند از:
28 = 1 + 2 + 4 + 7 + 14

#پایتون_عمومی
#متوسط

لینک عضویت در چالش های پایتون برای مالی:
www.tg-me.com/ye/Python4Finance/com.python4finance_challenge



tg-me.com/python4finance_challenge/27
Create:
Last Update:

چالش شماره 20
برنامه ای بنویسید که یک عدد را از کاربر دریافت کند و اعلام کند که آیا این عدد یک عدد کامل است یا خیر؟
یک عدد کامل (perfect number) عددی است که با مجموع مقسوم علیه‌های خود (بغیر از خود عدد) برابر می باشد. کوچکترین عدد کامل عبارت است از ٦، زیر داریم:
6 = 1 + 2 + 3
اعداد کامل بعدی عبارتند از:
28 = 1 + 2 + 4 + 7 + 14

#پایتون_عمومی
#متوسط

لینک عضویت در چالش های پایتون برای مالی:
www.tg-me.com/ye/Python4Finance/com.python4finance_challenge

BY python4finance-challenge


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python4finance_challenge/27

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.

Python4Finance from ye


Telegram python4finance-challenge
FROM USA