summaryrefslogtreecommitdiff
path: root/python/problems/re/double_parentheses/sl.py
blob: 501bce79c33ade110169331f915569523b9b0e06 (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
import server
mod = server.problems.load_language('python', 'sl')

id = 20907
name = 'Dvojni oklepaji'

description = '''\
<p>
NapiĊĦite funkcijo <code>double_parantheses(s)</code>, ki vrne vse nize, ki se 
pojavijo v dvojnih oklepajih.</p> 
<pre>
>>> double_parentheses('((aa (aa) aa)) bb ((cc)) (dd)')
['((aa (aa) aa))', '((cc))']
</pre>
'''

plan = []

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