✅ نامهای متغیر یک متغیر میتواند یک نام کوتاه (مانند x و y) یا یک نام توصیفیتر (سن، نام کار، کلحجم) داشته باشد.
🔣 قوانین برای متغیرهای پایتون: 🟡نام متغیر باید با یک حرف یا کاراکتر زیرخط شروع شود 🟡نام متغیر نمیتواند با یک عدد شروع شود نام متغیر فقط میتواند شامل نویسههای عددی و زیرخط باشد (A-z، 0-9 و _ ) 🟡نام متغیرها به حروف بزرگ و کوچک حساس هستند (age، Age و AGE سه متغیر متفاوت هستند) 🟡نام متغیر نمیتواند هیچ یک از کلمات کلیدی پایتون باشد.
‼️ به یاد داشته باشید که نام متغیرها به حروف بزرگ و کوچک حساس هستند
📌 نامهای متغیر چند کلمهای نامهای متغیر با بیش از یک کلمه ممکن است به سختی خوانده شوند. چندین تکنیک وجود دارد که میتوانید برای خوانایی بیشتر آنها استفاده کنید:
1️⃣ مورد شتر (Camel Case) هر کلمه، به جز کلمه اول، با یک حرف بزرگ شروع میشود: myVariableName = "John"
2️⃣ کیس پاسکال (Pascal Case) هر کلمه با یک حرف بزرگ شروع می شود: MyVariableName = "John"
3️⃣ کیس مار (Snake Case) هر کلمه با یک کاراکتر زیر خط جدا شده است: my_variable_name = "John"
✅ نامهای متغیر یک متغیر میتواند یک نام کوتاه (مانند x و y) یا یک نام توصیفیتر (سن، نام کار، کلحجم) داشته باشد.
🔣 قوانین برای متغیرهای پایتون: 🟡نام متغیر باید با یک حرف یا کاراکتر زیرخط شروع شود 🟡نام متغیر نمیتواند با یک عدد شروع شود نام متغیر فقط میتواند شامل نویسههای عددی و زیرخط باشد (A-z، 0-9 و _ ) 🟡نام متغیرها به حروف بزرگ و کوچک حساس هستند (age، Age و AGE سه متغیر متفاوت هستند) 🟡نام متغیر نمیتواند هیچ یک از کلمات کلیدی پایتون باشد.
‼️ به یاد داشته باشید که نام متغیرها به حروف بزرگ و کوچک حساس هستند
📌 نامهای متغیر چند کلمهای نامهای متغیر با بیش از یک کلمه ممکن است به سختی خوانده شوند. چندین تکنیک وجود دارد که میتوانید برای خوانایی بیشتر آنها استفاده کنید:
1️⃣ مورد شتر (Camel Case) هر کلمه، به جز کلمه اول، با یک حرف بزرگ شروع میشود: myVariableName = "John"
2️⃣ کیس پاسکال (Pascal Case) هر کلمه با یک حرف بزرگ شروع می شود: MyVariableName = "John"
3️⃣ کیس مار (Snake Case) هر کلمه با یک کاراکتر زیر خط جدا شده است: my_variable_name = "John"
Pavel Durov, a billionaire who embraces an all-black wardrobe and is often compared to the character Neo from "the Matrix," funds Telegram through his personal wealth and debt financing. And despite being one of the world's most popular tech companies, Telegram reportedly has only about 30 employees who defer to Durov for most major decisions about the platform. The account, "War on Fakes," was created on February 24, the same day Russian President Vladimir Putin announced a "special military operation" and troops began invading Ukraine. The page is rife with disinformation, according to The Atlantic Council's Digital Forensic Research Lab, which studies digital extremism and published a report examining the channel. In a statement, the regulator said the search and seizure operation was carried out against seven individuals and one corporate entity at multiple locations in Ahmedabad and Bhavnagar in Gujarat, Neemuch in Madhya Pradesh, Delhi, and Mumbai. Telegram was co-founded by Pavel and Nikolai Durov, the brothers who had previously created VKontakte. VK is Russia’s equivalent of Facebook, a social network used for public and private messaging, audio and video sharing as well as online gaming. In January, SimpleWeb reported that VK was Russia’s fourth most-visited website, after Yandex, YouTube and Google’s Russian-language homepage. In 2016, Forbes’ Michael Solomon described Pavel Durov (pictured, below) as the “Mark Zuckerberg of Russia.” 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.
from ca