-
-
Save jasdev/25871cf89de515edc69c4e6e66a5ba59 to your computer and use it in GitHub Desktop.
8×8 Party Parrot wave square in Swift.
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 parrotEmojis = (1...8).map { ":wave\($0)parrot:" } | |
print( | |
parrotEmojis.indices | |
.map { (parrotEmojis[$0...] + parrotEmojis[..<$0]).joined() } | |
.joined(separator: "\n") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment