Python Function Return Two Objects Interacting