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

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. Telegram boasts 500 million users, who share information individually and in groups in relative security. But Telegram's use as a one-way broadcast channel — which followers can join but not reply to — means content from inauthentic accounts can easily reach large, captive and eager audiences. Telegram has gained a reputation as the “secure” communications app in the post-Soviet states, but whenever you make choices about your digital security, it’s important to start by asking yourself, “What exactly am I securing? And who am I securing it from?” These questions should inform your decisions about whether you are using the right tool or platform for your digital security needs. Telegram is certainly not the most secure messaging app on the market right now. Its security model requires users to place a great deal of trust in Telegram’s ability to protect user data. For some users, this may be good enough for now. For others, it may be wiser to move to a different platform for certain kinds of high-risk communications. Some people used the platform to organize ahead of the storming of the U.S. Capitol in January 2021, and last month Senator Mark Warner sent a letter to Durov urging him to curb Russian information operations on Telegram. Ukrainian President Volodymyr Zelensky said in a video message on Tuesday that Ukrainian forces "destroy the invaders wherever we can."
from us


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