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: |

For example, WhatsApp restricted the number of times a user could forward something, and developed automated systems that detect and flag objectionable content. Messages are not fully encrypted by default. That means the company could, in theory, access the content of the messages, or be forced to hand over the data at the request of a government. This ability to mix the public and the private, as well as the ability to use bots to engage with users has proved to be problematic. In early 2021, a database selling phone numbers pulled from Facebook was selling numbers for $20 per lookup. Similarly, security researchers found a network of deepfake bots on the platform that were generating images of people submitted by users to create non-consensual imagery, some of which involved children. In a statement, the regulator said the search and seizure operation was carried out against seven individuals and one corporate entity at multiple locations in Ahmedabad and Bhavnagar in Gujarat, Neemuch in Madhya Pradesh, Delhi, and Mumbai. The fake Zelenskiy account reached 20,000 followers on Telegram before it was shut down, a remedial action that experts say is all too rare.
from ua


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