From f12796f00b36d143d8e2735cbec988cad3a3e9e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mo=C5=BEina?= Date: Mon, 17 Oct 2016 12:36:40 +0200 Subject: Fixed "faktorial" typo bug. --- python/problems/recursion/factorial/sl.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'python/problems') diff --git a/python/problems/recursion/factorial/sl.py b/python/problems/recursion/factorial/sl.py index a0269e3..16f3603 100644 --- a/python/problems/recursion/factorial/sl.py +++ b/python/problems/recursion/factorial/sl.py @@ -6,18 +6,18 @@ name = 'Fakulteta' description = '''\

-Napiši rekurzivno funkcijo faktorial(n), ki izračuna n!. +Napiši rekurzivno funkcijo factorial(n), ki izračuna n!. Funkcija je definirana z enačbama 0! = 1 in n! = n * (n - 1)!. Rešitev ne sme vsebovati zanke for ali zanke while.

->>> faktorial(0)
+>>> factorial(0)
 1
->>> faktorial(1)
+>>> factorial(1)
 1
->>> faktorial(5)
+>>> factorial(5)
 120
->>> faktorial(20)
+>>> factorial(20)
 2432902008176640000
 
''' -- cgit v1.2.1