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

💻 کدنویسی

4️⃣ دستورات پایه در پایتون: قسمت چهارم

😄 متغیرهای پایتون - چندین مقدار اختصاص دهید.

⬅️ مقادیر زیادی برای متغیرهای چندگانه
پایتون به شما این امکان را می دهد که در یک خط به چندین متغیر مقادیر اختصاص دهید:

🟡 مثال:
x, y, z = "Orange", "Banana", "Cherry"

print(x)
print(y)
print(z)
خروجی پایتون
Orange
Banana
Cherry

‼️توجه: مطمئن شوید که تعداد متغیرها با تعداد مقادیر مطابقت داشته باشد، در غیر این صورت با خطا مواجه خواهید شد.

یک مقدار به چندین متغیر
و می توانید یک مقدار را به چندین متغیر در یک خط اختصاص دهید:

🟡 مثال:
x = y = z = "Orange"
print(x)
print(y)
print(z)
خروجی پایتون:
Orange
Orange
Orange
👈 ادامه دارد....

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

✉️@IDSchools
✉️@IDS_Math
Please open Telegram to view this post
VIEW IN TELEGRAM



group-telegram.com/IDS_Math/110
Create:
Last Update:

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

💻 کدنویسی

4️⃣ دستورات پایه در پایتون: قسمت چهارم

😄 متغیرهای پایتون - چندین مقدار اختصاص دهید.

⬅️ مقادیر زیادی برای متغیرهای چندگانه
پایتون به شما این امکان را می دهد که در یک خط به چندین متغیر مقادیر اختصاص دهید:

🟡 مثال:
x, y, z = "Orange", "Banana", "Cherry"

print(x)
print(y)
print(z)
خروجی پایتون
Orange
Banana
Cherry

‼️توجه: مطمئن شوید که تعداد متغیرها با تعداد مقادیر مطابقت داشته باشد، در غیر این صورت با خطا مواجه خواهید شد.

یک مقدار به چندین متغیر
و می توانید یک مقدار را به چندین متغیر در یک خط اختصاص دهید:

🟡 مثال:
x = y = z = "Orange"
print(x)
print(y)
print(z)
خروجی پایتون:
Orange
Orange
Orange
👈 ادامه دارد....

#️⃣#کدنویسی
#️⃣#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/110

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

"And that set off kind of a battle royale for control of the platform that Durov eventually lost," said Nathalie Maréchal of the Washington advocacy group Ranking Digital Rights. "Your messages about the movement of the enemy through the official chatbot … bring new trophies every day," the government agency tweeted. As such, the SC would like to remind investors to always exercise caution when evaluating investment opportunities, especially those promising unrealistically high returns with little or no risk. Investors should also never deposit money into someone’s personal bank account if instructed. "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. Groups are also not fully encrypted, end-to-end. This includes private groups. Private groups cannot be seen by other Telegram users, but Telegram itself can see the groups and all of the communications that you have in them. All of the same risks and warnings about channels can be applied to groups.
from sg


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