Python Function Input Variable Type