Powershell Functions Return Value Python