Hello Friends,
This is Vikas and welcome to my IT Channel **SPT999 – Intelligent AI**, dedicated to IT education, Data Science, and Python programming tutorials.
In this video, you will learn about the *underscore (_) in Python* – a versatile symbol with multiple important uses in Python coding.
What you’ll learn in this video:
Throwaway Variable (_) in loops and unpacking
Interpreter Placeholder (last executed value)
Single Leading Underscore (_variable) → private variables convention
Double Leading Underscore (__variable) → name mangling in classes
Double Leading & Trailing Underscore (__method__) → magic/special methods
Trailing Underscore (variable_) → avoiding naming conflicts
Underscore in Numeric Literals → improve readability (e.g., 1_000_000)
By the end of this tutorial, you will understand **all the uses of underscore in Python**, from beginner to advanced level.
Related Videos:
Python Basics Playlist: • Python Tutorial For Beginners in Hindi
Advanced Python Features: • What is Role of Python in Data Science and...
This tutorial is useful for:
Students | Beginners | Python Developers | Data Science Enthusiasts
Don’t forget to Like, Share, and Subscribe for more Python tutorials:
/ @avredtechservices
#Python #Underscore #PythonForBeginners #PythonTips #PythonTutorial
Nesta página do site você pode assistir ao vídeo on-line Underscore (_) in Python Explained | Magic Methods, Private Variables & Conventions duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário AVR EdTech Services 30 Janeiro 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 97 vezes e gostou 9 espectadores. Boa visualização!