From 321ca68132adb1b7c2cae09ccc6ba59dfa5221c9 Mon Sep 17 00:00:00 2001 From: Arttu Date: Thu, 19 Jan 2017 13:20:31 +0200 Subject: [PATCH] Erotus toimii --- koodi.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koodi.rb b/koodi.rb index 932f2b3..ebd9fbc 100644 --- a/koodi.rb +++ b/koodi.rb @@ -1 +1,6 @@ # kirjoita koodi tänne +def erotus(a, b) + puts a - b +end + +erotus 1, 1 \ No newline at end of file