Created
September 27, 2018 14:11
-
-
Save justinrlle/1d55e107bd2738fc3a8c8ae63d7249e2 to your computer and use it in GitHub Desktop.
In 666 characters, show 666 times the number of the beast.
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
static THE_NUMBER_OF_THE_BEAST: &str = "666"; | |
/// And I stood upon the sand of the sea, and saw a beast rise up out of the sea, having seven | |
/// heads and ten horns, and upon his horns ten crowns, and upon his heads the name of blasphemy. | |
/// [...] Here is wisdom. Let him that hath understanding count the number of the beast: for it is | |
/// the number of a man; and his number is Six hundred threescore and six. | |
/// | |
/// Apocalypse, 13, 1, 18 | |
fn main() { | |
let the_mark = ::std::iter::repeat(THE_NUMBER_OF_THE_BEAST) | |
.take(665) | |
.fold(THE_NUMBER_OF_THE_BEAST.to_owned(), |l, r| { | |
l + " " + r | |
}); | |
println!("{}", the_mark); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment