You can also inline python inside shell scripts, does that make them equal sets? :)
life() { python3 << EOF print(42) EOF }