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$

marked as duplicate by Mr.Wizard Jun 27 '15 at 14:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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]
$\endgroup$

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