Question: I have a list as follows:

```
val numbers = listOf("one", "two", "three", "four")

```

I want to create a map such that each index goes to each value of the list.

1 to "one", 2 to "two", ..

I want the result to be a 

```
Map<Int, String>

```

Answer: 
One of the ways could be:

```
numbers.mapIndexed { index: Int, s: String -> index + 1 to s }.toMap()

```
You can try this code

```
val numbersMaps = (0 until numbers.size).map { i ->
   i+1 to numbers[it]
}
println(numbersMaps)

```