Python Flashcards
1
Q
methods
A
All instances of a class have access to the same methods via the notation.
2
Q
Does a method modify the initial object
A
A method, like a function, generally does not modify the initial object.
3
Q
Definition of a function
A
A function is a block of code that is written to perform a specific task
4
Q
Multiplier par 2 toute une liste de nombres
A
For Loop on numbers