I recently started using python and am trying to create the following four statements as Lambda Functions. mode == 1 ? TRUE : FALSE mode == 2 ? TRUE : FALSE mode == 3 ? TRUE : FALSE mode == 4 ? TRUE : FALSE Thanks Dave Farning