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

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

#مقدمات

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

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



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

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

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

#مقدمات

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

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

How to Use Bitcoin?

n the U.S. people generally use Bitcoin as an alternative investment, helping diversify a portfolio apart from stocks and bonds. You can also use Bitcoin to make purchases, but the number of vendors that accept the cryptocurrency is still limited. Big companies that accept Bitcoin include Overstock, AT&T and Twitch. You may also find that some small local retailers or certain websites take Bitcoin, but you’ll have to do some digging. That said, PayPal has announced that it will enable cryptocurrency as a funding source for purchases this year, financing purchases by automatically converting crypto holdings to fiat currency for users. “They have 346 million users and they’re connected to 26 million merchants,” says Spencer Montgomery, founder of Uinta Crypto Consulting. “It’s huge.”

Telegram today rolling out an update which brings with it several new features.The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. The update also adds interactive emoji. When you send one of the select animated emoji in chat, you can now tap on it to initiate a full screen animation. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations. This is then visible to you or anyone else who's also present in chat at the moment. The animations are also accompanied by vibrations.

Python4Finance from br


Telegram Python4Finance
FROM USA