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/no/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/no/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/no/Python4Finance/com.python4finance
پایتون برای مالی در بله https://ble.im/no/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: |

That growth environment will include rising inflation and interest rates. Those upward shifts naturally accompany healthy growth periods as the demand for resources, products and services rise. Importantly, the Federal Reserve has laid out the rationale for not interfering with that natural growth transition.It's not exactly a fad, but there is a widespread willingness to pay up for a growth story. Classic fundamental analysis takes a back seat. Even negative earnings are ignored. In fact, positive earnings seem to be a limiting measure, producing the question, "Is that all you've got?" The preference is a vision of untold riches when the exciting story plays out as expected.

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Python4Finance from no


Telegram Python4Finance
FROM USA