Python Developer — Hard
Key points
- Custom `append` method in `MyList` class multiplies input by 2
- `append` adds 6 to the list first, then extends [4, 5]
- Output is [6, 4, 5]
Ready to go further?
Related questions
Python Developer — Hard
Key points
Ready to go further?
Related questions