Created
June 28, 2025 21:17
-
-
Save freedomtowin/c5c527961fb18d893910da2eb16b6c0d to your computer and use it in GitHub Desktop.
Example of creating a Gist using Python
This file contains hidden or 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
let vec_of_vecs = vec![vec![1, 2, 3], vec![4, 5, 6]]; | |
let result = comp![x for vec in vec_of_vecs for x in vec if x > 1].collect::<Vec<_>>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment