Telegram Group & Telegram Channel
بلوک ها در پایتون
در پایتون دستورات به دو دسته تقسیم می شوند. دستوراتی که در یک خط تمام می شوند مثل:
print("salam")
برخی دستورات، برای تکمیل شدن به چند خط کد نیازدارند، برای مثال دستورات حلقه ها یا دستورات شرطی (که به آن بلوک گفته می شود).
از آنجایی که پایتون مانند سایر زبان ها، از علامت هایی مانند ; یا }{ برای تعیین انتهای خط یا انتهای بلوک ها استفاده نمی کند، برای این موارد از فاصله استفاده می کند . (به تو رفتگی های داخل کدها اصطلاحا دندانه یا indent گفته می شود. ) هر دندادنه معمولا از یک تب یا 4 فاصله تشکیل می شود. بنابراین در پایتون فاصله ها معنادار هستند.

#پایتون_برای_اقتصاد_و_مالی
#بلوک_پایتون

#مقدمات

پایتون برای مالی در تلگرام https://www.tg-me.com/ye/Python4Finance/com.python4finance

پایتون برای مالی در بله https://ble.im/ye/Python4Finance/com.python4finance



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

بلوک ها در پایتون
در پایتون دستورات به دو دسته تقسیم می شوند. دستوراتی که در یک خط تمام می شوند مثل:
print("salam")
برخی دستورات، برای تکمیل شدن به چند خط کد نیازدارند، برای مثال دستورات حلقه ها یا دستورات شرطی (که به آن بلوک گفته می شود).
از آنجایی که پایتون مانند سایر زبان ها، از علامت هایی مانند ; یا }{ برای تعیین انتهای خط یا انتهای بلوک ها استفاده نمی کند، برای این موارد از فاصله استفاده می کند . (به تو رفتگی های داخل کدها اصطلاحا دندانه یا indent گفته می شود. ) هر دندادنه معمولا از یک تب یا 4 فاصله تشکیل می شود. بنابراین در پایتون فاصله ها معنادار هستند.

#پایتون_برای_اقتصاد_و_مالی
#بلوک_پایتون

#مقدمات

پایتون برای مالی در تلگرام https://www.tg-me.com/ye/Python4Finance/com.python4finance

پایتون برای مالی در بله https://ble.im/ye/Python4Finance/com.python4finance

BY Python4Finance




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

View MORE
Open in Telegram


Python4Finance Telegram | DID YOU KNOW?

Date: |

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

Should I buy bitcoin?

“To the extent it is used I fear it’s often for illicit finance. It’s an extremely inefficient way of conducting transactions, and the amount of energy that’s consumed in processing those transactions is staggering,” the former Fed chairwoman said. Yellen’s comments have been cited as a reason for bitcoin’s recent losses. However, Yellen’s assessment of bitcoin as a inefficient medium of exchange is an important point and one that has already been raised in the past by bitcoin bulls. Using a volatile asset in exchange for goods and services makes little sense if the asset can tumble 10% in a day, or surge 80% over the course of a two months as bitcoin has done in 2021, critics argue. To put a finer point on it, over the past 12 months bitcoin has registered 8 corrections, defined as a decline from a recent peak of at least 10% but not more than 20%, and two bear markets, which are defined as falls of 20% or more, according to Dow Jones Market Data.

Python4Finance from ye


Telegram Python4Finance
FROM USA