Telegram Group & Telegram Channel
🎲#گام_به_گام

💻 کدنویسی

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



group-telegram.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 ریاضی، آمار و علوم کامپیوتر - مدارس میان‌رشته‌ای


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/IDS_Math/134

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

These entities are reportedly operating nine Telegram channels with more than five million subscribers to whom they were making recommendations on selected listed scrips. Such recommendations induced the investors to deal in the said scrips, thereby creating artificial volume and price rise. The Dow Jones Industrial Average fell 230 points, or 0.7%. Meanwhile, the S&P 500 and the Nasdaq Composite dropped 1.3% and 2.2%, respectively. All three indexes began the day with gains before selling off. "There are a lot of things that Telegram could have been doing this whole time. And they know exactly what they are and they've chosen not to do them. That's why I don't trust them," she said. These administrators had built substantial positions in these scrips prior to the circulation of recommendations and offloaded their positions subsequent to rise in price of these scrips, making significant profits at the expense of unsuspecting investors, Sebi noted. I want a secure messaging app, should I use Telegram?
from cn


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