Telegram Group & Telegram Channel
اولین برنامه در پایتون
برای ایجاد یک فایل جدید در صفحه اول IDLE که به آن Python shell می گوییم، از منوی فایل new file را انتخاب کنید.
برای نوشتن توضیحات برای کدهای خود در پایتون می توانید از علامت # در ابتدای هر خط استفاده کنید.
دستورات زیر را در فایل تایپ کنید:
#This is comment block
print("This is a first program in python4finance")
print()
print(5+2)
print(5-2)
print(5*2)
print(5**2)
print(5/2)
print(5//2)
print(5%2)
برنامه خود را با نامی مانند app.py ذخیره کنید و از منوی Run گزینه Run Module را انتخاب کنید تا نرم افزار اجرا شود. می توانستید برای اجرای برنامه از کلید F5 هم استفاده کنید.
حاصل کار چیزی شبیه شکل بعدی خواهد شد.

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

#مقدمات

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


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



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

اولین برنامه در پایتون
برای ایجاد یک فایل جدید در صفحه اول IDLE که به آن Python shell می گوییم، از منوی فایل new file را انتخاب کنید.
برای نوشتن توضیحات برای کدهای خود در پایتون می توانید از علامت # در ابتدای هر خط استفاده کنید.
دستورات زیر را در فایل تایپ کنید:
#This is comment block
print("This is a first program in python4finance")
print()
print(5+2)
print(5-2)
print(5*2)
print(5**2)
print(5/2)
print(5//2)
print(5%2)
برنامه خود را با نامی مانند app.py ذخیره کنید و از منوی Run گزینه Run Module را انتخاب کنید تا نرم افزار اجرا شود. می توانستید برای اجرای برنامه از کلید F5 هم استفاده کنید.
حاصل کار چیزی شبیه شکل بعدی خواهد شد.

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

#مقدمات

پایتون برای مالی در تلگرام
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/25

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.

The Singapore stock market has alternated between positive and negative finishes through the last five trading days since the end of the two-day winning streak in which it had added more than a dozen points or 0.4 percent. The Straits Times Index now sits just above the 3,060-point plateau and it's likely to see a narrow trading range on Monday.

Python4Finance from ye


Telegram Python4Finance
FROM USA