Powershell Create Function In Python Syntax