IDS_MATH Telegram 134
🎲#گام_به_گام

💻 کدنویسی

7️⃣ دستورات پایه در پایتون: قسمت هفتم

🔹انواع داده پایتون
در برنامه نویسی، نوع داده یک مفهوم مهم است.
متغیرها می‌توانند داده‌های مختلف را ذخیره کنند و انواع مختلف می‌توانند کارهای متفاوتی انجام دهند.

🔣 پایتون انواع داده‌های زیر را به طور پیش فرض در این دسته‌بندی‌ها داخلی دارد:

◀️نوع متن: str

◀️ انواع عددی: int, float, complex

◀️انواع توالی: list, tuple, range

◀️نوع نقشه برداری: dict

◀️ انواع ست: set, frozenset

◀️ نوع بولی: bool

◀️انواع باینری: bytes, bytearray, memoryview

◀️ نوع خالی : None Type

🔣دریافت نوع داده

با استفاده از تابع type() می توانید نوع داده هر شی را بدست آورید:
مثال:
x = 5
print(type(x))
خروجی پایتون:
<class 'int'>
⬅️ ادامه دارد....

#️⃣#کدنویسی
#️⃣#IDSchools
#️⃣#IDS
#️⃣#IDS_Math

✉️@IDSchools
✉️@IDS_Math



tgoop.com/IDS_Math/134
Create:
Last Update:

🎲#گام_به_گام

💻 کدنویسی

7️⃣ دستورات پایه در پایتون: قسمت هفتم

🔹انواع داده پایتون
در برنامه نویسی، نوع داده یک مفهوم مهم است.
متغیرها می‌توانند داده‌های مختلف را ذخیره کنند و انواع مختلف می‌توانند کارهای متفاوتی انجام دهند.

🔣 پایتون انواع داده‌های زیر را به طور پیش فرض در این دسته‌بندی‌ها داخلی دارد:

◀️نوع متن: str

◀️ انواع عددی: int, float, complex

◀️انواع توالی: list, tuple, range

◀️نوع نقشه برداری: dict

◀️ انواع ست: set, frozenset

◀️ نوع بولی: bool

◀️انواع باینری: bytes, bytearray, memoryview

◀️ نوع خالی : None Type

🔣دریافت نوع داده

با استفاده از تابع type() می توانید نوع داده هر شی را بدست آورید:
مثال:
x = 5
print(type(x))
خروجی پایتون:
<class 'int'>
⬅️ ادامه دارد....

#️⃣#کدنویسی
#️⃣#IDSchools
#️⃣#IDS
#️⃣#IDS_Math

✉️@IDSchools
✉️@IDS_Math

BY ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای


Share with your friend now:
tgoop.com/IDS_Math/134

View MORE
Open in Telegram


Telegram News

Date: |

How to create a business channel on Telegram? (Tutorial) Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. fire bomb molotov November 18 Dylan Hollingsworth yau ma tei In 2018, Telegram’s audience reached 200 million people, with 500,000 new users joining the messenger every day. It was launched for iOS on 14 August 2013 and Android on 20 October 2013. Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator.
from us


Telegram ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای
FROM American