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

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. Emerson Brooking, a disinformation expert at the Atlantic Council's Digital Forensic Research Lab, said: "Back in the Wild West period of content moderation, like 2014 or 2015, maybe they could have gotten away with it, but it stands in marked contrast with how other companies run themselves today." Also in the latest update is the ability for users to create a unique @username from the Settings page, providing others with an easy way to contact them via Search or their t.me/username link without sharing their phone number. Official government accounts have also spread fake fact checks. An official Twitter account for the Russia diplomatic mission in Geneva shared a fake debunking video claiming without evidence that "Western and Ukrainian media are creating thousands of fake news on Russia every day." The video, which has amassed almost 30,000 views, offered a "how-to" spot misinformation. In a message on his Telegram channel recently recounting the episode, Durov wrote: "I lost my company and my home, but would do it again – without hesitation."
from sa


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