Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Nested-function/11l/nested-function.11l
Normal file
11
Task/Nested-function/11l/nested-function.11l
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
F makeList(separator)
|
||||
V counter = 1
|
||||
|
||||
F makeItem(item)
|
||||
-V result = @counter‘’@separator‘’item"\n"
|
||||
@counter++
|
||||
R result
|
||||
|
||||
R makeItem(‘first’)‘’makeItem(‘second’)‘’makeItem(‘third’)
|
||||
|
||||
print(makeList(‘. ’))
|
||||
Loading…
Add table
Add a link
Reference in a new issue