summaryrefslogtreecommitdiff
path: root/python/problems/functions/palindrome/sl.py
blob: e0050579f62e4dbe1f2df384e67407beb70b6cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# coding=utf-8
import server
mod = server.problems.load_language('python', 'sl')


id = 228
name = 'Palindrom'
slug = 'Palindrom'


description = '''\
<p>
NapiĊĦite funkcijo <code>palindrome(s)</code>, ki preveri, ali je niz s palindrom.
<pre>
>>> palindrome('pericarezeracirep')
True
>>> palindrome('perica')
False
</pre>
</p>'''

plan = ['''\
<p></p>
''',
        '''\
<p></p>''']

hint = {
    'final_hint': ['''\
<p>Program je pravilen! <br>
</p>
'''],
}