Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Reverse-a-string/Wren/reverse-a-string.wren
Normal file
10
Task/Reverse-a-string/Wren/reverse-a-string.wren
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import "/str" for Str
|
||||
import "/upc" for Graphemes
|
||||
|
||||
for (word in ["asdf", "josé", "møøse", "was it a car or a cat I saw", "😀🚂🦊"]) {
|
||||
System.print(Str.reverse(word))
|
||||
}
|
||||
|
||||
for (word in ["as⃝df̅", "ℵΑΩ 駱駝道 🤔 🇸🇧 🇺🇸 🇬🇧 👨👩👧👦🆗🗺"]) {
|
||||
System.print(Graphemes.new(word).toList[-1..0].join())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue