Even numbers

Published 355d ago

 ayebear

Even numbers

fn main() {
    (0..10).filter(|i| i % 2 == 0).for_each(|i| println!("{i}"));
}

1

Please login or sign up to comment and collaborate