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 a class describe? | StemPy Lab
Quizzes
/
What does a class describe?
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 a class describe?
One single object with its values
The data and the actions of a kind of thing, from which objects are made
A function that returns a list
A module that is imported
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student keeps the contacts in a list of pairs, and searches it with a for loop for every lookup. What is a better idea for a book with a million contacts?
What does self mean inside a method? →
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 →