Telegram Group & Telegram Channel
حلقه ها در پایتون
برای تکرار یک فرآیند در پایتون از حلقه ها استفاده می کنیم. فرض کنید می خواهیم از یک تا 10 را شمرده و به کاربر نشان دهیم.
ساختار چیزی شبیه زیر خواهد بود:

for in in range(1,10):
print(i)
به طور کلی، حلقه ها یا بر اساس شمارش ایجاد می شوند (دستور for) یا بر اساس شرط (while)، مثلا تا زمانی که یک شرط صحیح باشد. برای مثال بازنویسی مثال فوق با while به صورت زیر خواهد بود:

i=1
while i<10:
print(i)
i = i + 1



#مقدمات
پایتون برای مالی در تلگرام https://www.tg-me.com/es/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/es/Python4Finance/com.python4finance



tg-me.com/python4finance/41
Create:
Last Update:

حلقه ها در پایتون
برای تکرار یک فرآیند در پایتون از حلقه ها استفاده می کنیم. فرض کنید می خواهیم از یک تا 10 را شمرده و به کاربر نشان دهیم.
ساختار چیزی شبیه زیر خواهد بود:

for in in range(1,10):
print(i)
به طور کلی، حلقه ها یا بر اساس شمارش ایجاد می شوند (دستور for) یا بر اساس شرط (while)، مثلا تا زمانی که یک شرط صحیح باشد. برای مثال بازنویسی مثال فوق با while به صورت زیر خواهد بود:

i=1
while i<10:
print(i)
i = i + 1



#مقدمات
پایتون برای مالی در تلگرام https://www.tg-me.com/es/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/es/Python4Finance/com.python4finance

BY Python4Finance




Share with your friend now:
tg-me.com/python4finance/41

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

Newly uncovered hack campaign in Telegram

The campaign, which security firm Check Point has named Rampant Kitten, comprises two main components, one for Windows and the other for Android. Rampant Kitten’s objective is to steal Telegram messages, passwords, and two-factor authentication codes sent by SMS and then also take screenshots and record sounds within earshot of an infected phone, the researchers said in a post published on Friday.

Importantly, that investor viewpoint is not new. It cycles in when conditions are right (and vice versa). It also brings the ineffective warnings of an overpriced market with it.Looking toward a good 2022 stock market, there is no apparent reason to expect these issues to change.

Python4Finance from es


Telegram Python4Finance
FROM USA