Last active
April 23, 2023 09:32
-
-
Save vikingosegundo/649f07ada730d4cffec2539c39800500 to your computer and use it in GitHub Desktop.
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
let romans = (1...100).map { roman(for: $0) } // numerals from ints | |
let ints = romans.map { from(roman: $0) } // ints from numerals | |
(zip(ints, romans)).forEach { x in | |
print(x) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment