Return Type Of Input Function In Python