12 lines
259 B
Text
12 lines
259 B
Text
|
|
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(‘. ’))
|