Powershell Create Function In Python Programming