From 236001ec7563804f87a40c924681461bc8b2d764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Mo=C5=BEina?= Date: Mon, 5 Dec 2016 11:51:58 +0100 Subject: Added a new set of exercises (regular expressions). --- python/problems/re/words/sl.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 python/problems/re/words/sl.py (limited to 'python/problems/re/words/sl.py') diff --git a/python/problems/re/words/sl.py b/python/problems/re/words/sl.py new file mode 100644 index 0000000..ad5fe4c --- /dev/null +++ b/python/problems/re/words/sl.py @@ -0,0 +1,24 @@ +import server +mod = server.problems.load_language('python', 'sl') + +id = 20905 +name = 'Besede' + +description = '''\ +

+Napišite funkcijo words(s), ki vrne vse besede v nizu. Beseda +je sestavljena iz malih in velikih črk. Pazite, da ne vračate ločil. +

+>>> words('Vse besede. Brez locil!!!')
+['Vse', 'besede', 'Brez', 'locil']
+
+''' + +plan = [] + +hint = { + 'final_hint': ['''\ +

Program je pravilen!
+

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