Software Engineering
Objects Interacting with Other Objects in Python
Now that a method can work on self, the next step is letting it work on another object too. You'll write methods that take a second instance of the same class as an argument, have two objects change each other's state, drive their interaction from plain functions, and finally gather many objects into a list so the same operation can run across all of them.
Python
4 lessons
16 practices
Less than 2 hours
Computer Systems and Architecture

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal





