RosettaCodeData/Task/Topic-variable/Sidef/topic-variable.sidef

2 lines
49 B
Plaintext

say [9,16,25].map {.sqrt}; # prints: [3, 4, 5]