Powershell Increment Variable In Function In Python Practice