While Loop Through String Python Functions With Arguments