From cde24bbc3aec6ce17b8947fd80042419f2e54e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Pober=C5=BEnik?= Date: Mon, 23 Oct 2017 18:03:59 +0200 Subject: Add new exercices for FKKT - lists and if --- .../problems/lists_and_if-fkkt/is_palindrome/sl.py | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 python/problems/lists_and_if-fkkt/is_palindrome/sl.py (limited to 'python/problems/lists_and_if-fkkt/is_palindrome/sl.py') diff --git a/python/problems/lists_and_if-fkkt/is_palindrome/sl.py b/python/problems/lists_and_if-fkkt/is_palindrome/sl.py new file mode 100644 index 0000000..90c9bff --- /dev/null +++ b/python/problems/lists_and_if-fkkt/is_palindrome/sl.py @@ -0,0 +1,33 @@ +import server +mod = server.problems.load_language('python', 'sl') + + +name = 'Palindrom' +slug = 'Palindrom' + + +description = '''\ +

Napišite program, ki uporabnika vpraša po nizu, nato pa izpiše, ali je niz palindrom.
+Primer uporabe:

+ +
Vpišite niz: kisik
+True
+
+Vpišite niz: vnos
+False
+
+''' + + +plan = [] + +hint = { + 'no_input_call': '''

Za branje uporabimo funkcijo input

''', + + 'printing': ['''\ +

Izpiši rezultat.

'''], + + 'final_hint': ['''\ +

Program deluje pravilno!

'''], + +} -- cgit v1.2.1