M
M
mkone1122020-12-20 20:39:56
YAML
mkone112, 2020-12-20 20:39:56

How to concatenate lists/arrays?

I'm trying to figure out how to combine the contents of multiple lists. Example:

A = ['a']
B = ['b']
C = A + B
C >> ['a', 'b']

Tried several solutions like this one:
A: &A
  - 'a'
B: &B
  - 'b'
C:
  *A
  *B

But nothing happened.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question