Python Define Variable Type In Function In Power