Created
February 5, 2015 07:21
-
-
Save semeltheone/25f9ca17798a74eb0d1d to your computer and use it in GitHub Desktop.
Find cases using a Condition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
l = {{5, 6, 7}, {5, 4, 7}} | |
Cases[l, {_, x_ /; x > 5, _}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment