Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does self mean inside a method? | StemPy Lab
Quizzes
/
What does self mean inside a method?
Python Programming
Easy
High School (11–12)
High School (9–10)
Undergraduate
General
Python Going Further › Classes and Objects
Created by
StemPy Lab
What does self mean inside a method?
The object that the method was called on
The name of the method
The class itself
The module that holds the class
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← What does a class describe?
Which method does Python run automatically when an object is made? →
More on
Python Going Further › Classes and Objects
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A class Dog has the attributes name and age.
Medium
A class Basket has def __init__(self, items=[]) and self.items = items.
Medium
Class or object attribute?
Medium
Using the BankAccount class of the lesson, add a method transfer(other, amount) that moves money…
Medium
All problems on this topic →