Python Function Returns Two Variables