RosettaCodeData/Task/100-doors/Sidef/100-doors-2.sidef
2017-09-25 22:28:19 +02:00

3 lines
78 B
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ |i|
"Door %3d is %s\n".printf(i, <closed open>[i.is_sqr])
} << 1..100