This is how I name things in Python:
1. Constants: All uppercase.
2. Classes: CapitalName.
3. Functions, variables, attributes: lowercase_underscore.
4. Private/protected attributes: _leading.
Naming conventions are critical to improving the readability of your code.
#Tips
@pythonsocket
1. Constants: All uppercase.
2. Classes: CapitalName.
3. Functions, variables, attributes: lowercase_underscore.
4. Private/protected attributes: _leading.
Naming conventions are critical to improving the readability of your code.
#Tips
@pythonsocket
دوستان
قراره از محدوده اعداد ۱ تا ۱۰۰، آنهایی که بر ۴ بخش پذیر هستند را بدست آوریم.
چگونه این برنامه را می نویسید ؟
درگروه چت پیغام بگذارید :
https://t.me/PythonSocketChat
#Tips
#Challenge
@pythonsocket
قراره از محدوده اعداد ۱ تا ۱۰۰، آنهایی که بر ۴ بخش پذیر هستند را بدست آوریم.
چگونه این برنامه را می نویسید ؟
درگروه چت پیغام بگذارید :
https://t.me/PythonSocketChat
#Tips
#Challenge
@pythonsocket
دوستان
کسی میداند آیا چیزی شبیه به match case که در زبانهای دیگر وجود دارد، در پایتون هم وجود دارد؟
درگروه چت پیغام بگذارید :
https://t.me/PythonSocketChat
#Tips
#Challenge
@pythonsocket
کسی میداند آیا چیزی شبیه به match case که در زبانهای دیگر وجود دارد، در پایتون هم وجود دارد؟
درگروه چت پیغام بگذارید :
https://t.me/PythonSocketChat
#Tips
#Challenge
@pythonsocket