From f8f427be3361557d44b0d49c53c85adad320b283 Mon Sep 17 00:00:00 2001 From: Iina Lumme Date: Tue, 19 Jan 2016 21:33:20 +0200 Subject: [PATCH] done --- koodi.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/koodi.rb b/koodi.rb index 932f2b3..b3107d0 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1 +1,8 @@ # kirjoita koodi tänne +def monista(a) + a2 = a.map do |i| + luku = i + i = i.to_s + i*luku + end +end \ No newline at end of file