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

The regulator said it had received information that messages containing stock tips and other investment advice with respect to selected listed companies are being widely circulated through websites and social media platforms such as Telegram, Facebook, WhatsApp and Instagram. The War on Fakes channel has repeatedly attempted to push conspiracies that footage from Ukraine is somehow being falsified. One post on the channel from February 24 claimed without evidence that a widely viewed photo of a Ukrainian woman injured in an airstrike in the city of Chuhuiv was doctored and that the woman was seen in a different photo days later without injuries. The post, which has over 600,000 views, also baselessly claimed that the woman's blood was actually makeup or grape juice. A Russian Telegram channel with over 700,000 followers is spreading disinformation about Russia's invasion of Ukraine under the guise of providing "objective information" and fact-checking fake news. Its influence extends beyond the platform, with major Russian publications, government officials, and journalists citing the page's posts. Artem Kliuchnikov and his family fled Ukraine just days before the Russian invasion. At this point, however, Durov had already been working on Telegram with his brother, and further planned a mobile-first social network with an explicit focus on anti-censorship. Later in April, he told TechCrunch that he had left Russia and had “no plans to go back,” saying that the nation was currently “incompatible with internet business at the moment.” He added later that he was looking for a country that matched his libertarian ideals to base his next startup.
from ca


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