Even numbers
Published 355d ago
ayebear
Even numbers
fn main() {
(0..10).filter(|i| i % 2 == 0).for_each(|i| println!("{i}"));
}
Please login or sign up to comment and collaborate
Published 355d ago
Even numbers
fn main() {
(0..10).filter(|i| i % 2 == 0).for_each(|i| println!("{i}"));
}
Please login or sign up to comment and collaborate