Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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]
Symbol["a" <> #] & /@ IntegerString[Range[100]]
As J.M. pointed out we should look in Symbol[ ] direction. Here is the modification that makes his/her useful comment work.
Symbol[ ]
Symbol["a" <> ToString[#]] & /@ Range[100]
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
Symbol["a" <> #] & /@ IntegerString[Range[100]]. $\endgroup$