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

Perpetrators of these scams will create a public group on Telegram to promote these investment packages that are usually accompanied by fake testimonies and sometimes advertised as being Shariah-compliant. Interested investors will be asked to directly message the representatives to begin investing in the various investment packages offered. 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 original Telegram channel has expanded into a web of accounts for different locations, including specific pages made for individual Russian cities. There's also an English-language website, which states it is owned by the people who run the Telegram channels. Russians and Ukrainians are both prolific users of Telegram. They rely on the app for channels that act as newsfeeds, group chats (both public and private), and one-to-one communication. Since the Russian invasion of Ukraine, Telegram has remained an important lifeline for both Russians and Ukrainians, as a way of staying aware of the latest news and keeping in touch with loved ones. 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."
from ms


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