From e8f4fd8f6703eb7e5a46c54e75f345d456e82c1a Mon Sep 17 00:00:00 2001 From: narkusv97 Date: Tue, 4 Sep 2018 18:54:44 +0300 Subject: [PATCH 1/2] Testi --- koodi.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koodi.rb b/koodi.rb index 932f2b3..f9870e9 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1 +1,4 @@ # kirjoita koodi tänne +def erotus(a, b) + return a - b +end \ No newline at end of file From 52b8b5e9eca71ac93ab1cf67918eecce03e9c30f Mon Sep 17 00:00:00 2001 From: narkusv97 Date: Tue, 4 Sep 2018 19:26:03 +0300 Subject: [PATCH 2/2] Testi --- koodi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koodi.rb b/koodi.rb index f9870e9..f7413be 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1,4 +1,4 @@ # kirjoita koodi tänne -def erotus(a, b) - return a - b +def erotus(a,b)# + puts a - b end \ No newline at end of file