Do we get to see the TR-3A Black Manta yet? /s
Only if you have to rescue many princesses in a short period of time
Rescuing is only I/O bounded; your argument is irrelevant.
Don’t forget to keep your return values…
rescued_princesses = [{"princess": princess, "rescued": princess.rescue()} for princess in [castle.get_princess() for castle in castles]]
Python:
from Rescues import Princess
Princess.rescue()
And try as I might, it still looks horrible 😔