From 72934f05e616f3d708808821440d950be698340e Mon Sep 17 00:00:00 2001 From: henri Date: Sat, 23 Jan 2016 18:17:16 +0200 Subject: [PATCH 1/2] =?UTF-8?q?teht=C3=A4v=C3=A4npalautus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- koodi.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koodi.rb b/koodi.rb index 932f2b3..d4f3109 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1 +1,4 @@ # kirjoita koodi tänne +def erotus(a, b) + a-b +end \ No newline at end of file From 53f73d03b293407c4ad004ff08c2ce2d48e5b413 Mon Sep 17 00:00:00 2001 From: henri Date: Sat, 23 Jan 2016 18:22:44 +0200 Subject: [PATCH 2/2] =?UTF-8?q?teht=C3=A4v=C3=A4npalautus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- koodi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koodi.rb b/koodi.rb index d4f3109..921c13e 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1,4 +1,4 @@ # kirjoita koodi tänne def erotus(a, b) - a-b + print a-b end \ No newline at end of file