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

💻 کدنویسی

8️⃣ دستورات پایه در پایتون: قسمت هشتم

تنظیم نوع داده
در پایتون، زمانی که مقداری را به یک متغیر اختصاص می دهید، نوع داده تنظیم می شود:
مثال:
Example Data Type
x = "Hello World" str
x = 20. int
x = 20.5. float
x = 1j complex
x = ["apple", "banana", "cherry"] list
x = ("apple", "banana", "cherry") tuple
x = range(6) range
x = {"name" : "John", "age" : 36} dict
x = {"apple", "banana", "cherry"} set
x = frozenset({"apple", "banana", "cherry"})
frozenset
x = True bool
x = b"Hello" bytes
x = bytearray(5) bytearray
x = memoryview(bytes(5)) memoryview
x = None NoneType

تنظیم نوع داده خاص
اگر می خواهید نوع داده را مشخص کنید، می توانید از توابع سازنده زیر استفاده کنید:

Example
x = str("Hello World")
x = int(20)
x = float(20.5)
x = complex(1j)
x = list(("apple", "banana", "cherry"))
x = tuple(("apple", "banana", "cherry"))
x = range(6)
x = dict(name="John", age=36)
x = set(("apple", "banana", "cherry"))
x = frozenset(("apple", "banana", "cherry"))
x = bool(5)
x = bytes(5)
x = bytearray(5)
x = memoryview(bytes(5))

⬅️ ادامه دارد....

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

🆔@IDSchools
🆔@IDS_Math



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

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

💻 کدنویسی

8️⃣ دستورات پایه در پایتون: قسمت هشتم

تنظیم نوع داده
در پایتون، زمانی که مقداری را به یک متغیر اختصاص می دهید، نوع داده تنظیم می شود:
مثال:
Example Data Type
x = "Hello World" str
x = 20. int
x = 20.5. float
x = 1j complex
x = ["apple", "banana", "cherry"] list
x = ("apple", "banana", "cherry") tuple
x = range(6) range
x = {"name" : "John", "age" : 36} dict
x = {"apple", "banana", "cherry"} set
x = frozenset({"apple", "banana", "cherry"})
frozenset
x = True bool
x = b"Hello" bytes
x = bytearray(5) bytearray
x = memoryview(bytes(5)) memoryview
x = None NoneType

تنظیم نوع داده خاص
اگر می خواهید نوع داده را مشخص کنید، می توانید از توابع سازنده زیر استفاده کنید:

Example
x = str("Hello World")
x = int(20)
x = float(20.5)
x = complex(1j)
x = list(("apple", "banana", "cherry"))
x = tuple(("apple", "banana", "cherry"))
x = range(6)
x = dict(name="John", age=36)
x = set(("apple", "banana", "cherry"))
x = frozenset(("apple", "banana", "cherry"))
x = bool(5)
x = bytes(5)
x = bytearray(5)
x = memoryview(bytes(5))

⬅️ ادامه دارد....

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

🆔@IDSchools
🆔@IDS_Math

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


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

View MORE
Open in Telegram


Telegram News

Date: |

Write your hashtags in the language of your target audience. How to create a business channel on Telegram? (Tutorial) Matt Hussey, editorial director at NEAR Protocol also responded to this news with “#meIRL”. Just as you search “Bear Market Screaming” in Telegram, you will see a Pepe frog yelling as the group’s featured image. A Telegram channel is used for various purposes, from sharing helpful content to implementing a business strategy. In addition, you can use your channel to build and improve your company image, boost your sales, make profits, enhance customer loyalty, and more. The administrator of a telegram group, "Suck Channel," was sentenced to six years and six months in prison for seven counts of incitement yesterday.
from us


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