Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Sort-three-variables/Red/sort-three-variables.red
Normal file
14
Task/Sort-three-variables/Red/sort-three-variables.red
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
foreach [x y z] [
|
||||
"lions, tigers, and"
|
||||
"bears, oh my!"
|
||||
{(from the "Wizard of OZ")}
|
||||
77444 -12 0
|
||||
3.1416 3.1415926 3.141592654
|
||||
#"z" #"0" #"A"
|
||||
216.239.36.21 172.67.134.114 127.0.0.1
|
||||
john@doe.org max@min.com cool@bi.net
|
||||
potato carrot cabbage
|
||||
][
|
||||
set [x y z] sort reduce [x y z]
|
||||
print ["x:" mold x "y:" mold y "z:" mold z]
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue