How To Define A Function In Python With Variables