Python Define Variable Type In Function In Excel