<How to multiply list in Kotlin> If I have a list:...
# stackoverflow
u
How to multiply list in Kotlin If I have a list: val a: mutableListOf = (1,2,3,4) and I want to have a new list b with (1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4) In python, you could just have a * 3 How can this be achieved in Kotlin?