Write a program to elasticize strings
Jelly, 3 bytes
Code:
ĖP€

Explanation:
Ė     # Enumerate.
 P€   # Product of each.
      # Implicit joining of everything.

Uses the Jelly encoding. Try it online!.