3
$\begingroup$

Is it possible to create following list by some sort of iteration?

{a1,a2,a3,...,a100}

I cannot think of any way to append a to

Range[100]
$\endgroup$
1
$\begingroup$

As J.M. pointed out we should look in Symbol[ ] direction. Here is the modification that makes his/her useful comment work.

Symbol["a" <> ToString[#]] & /@ Range[100]
| improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.