Concatenate two mutable lists firstList and secondList and print the result.
In the example below, each line corresponds to a separate list. Elements are separated by spaces.
Tip: Use the function joinToString().
Concatenate two mutable lists firstList and secondList and print the result.
In the example below, each line corresponds to a separate list. Elements are separated by spaces.
Tip: Use the function joinToString().
Sample Input 1:
valar morghulis
valar dohaerisSample Output 1:
valar, morghulis, valar, dohaerisCreate a free account to access the full topic