The Python Secret No One Tells You: Unmasking the Magic of 'self'
Dec 12, 2025 · 3 min read · Is self a keyword? The answer is no!! Then what is this? Well before answering this question I would like to share where we use self. Lets see a code snippet : class Student: def __init__(self, student_id, name): self.student_id = student...
Join discussion