I am obsessed with codification from SNAP to Python.
Now I came along on multiplying a character c with a number n, which is possible in Python.
It returns in python just n times the concatenation of this character with itself.
So "4 * a" results in a string "aaaa".
(This is helpful, when printing something on the command line.)
So I tried to produce the same result in SNAP and came up with 2 solution.
1 with repeating an assignment and another with adding the character to a list.
But I find both versions ugly and - i admit - imperative.
So my question to the gurus is:
How can I concatenate a character with itself n times without using assignments and repeat.
How can I concatenate a character with itself n times by a adding a character to a list without a repeat statement, but with map, combine, ...
NOT important and NOT urgent at all.
I just want to excel in functional programming before I die.