# List comprehensions pythonic way [closed]

I am trying to avoid of using the indexes for list manipulations as these usually gives me headaches. In Python there are wonderful way:

m = [1,2,3] q = [5,6,7] the_list = [qi**2 + mi for qi,mi in zip(q,m)] 

What is the closest way in which Mathematica can gain this result without using indices?

Also are there any tutorials for Mathematica for those with python background?

-

## closed as off-topic by rasher, ubpdqn, m_goldberg, belisarius, Michael E2Apr 8 at 12:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – rasher, ubpdqn, m_goldberg, belisarius, Michael E2
If this question can be reworded to fit the rules in the help center, please edit the question.

MapThread[#^2 + #2&, {q, m}] –  rm -rf Apr 8 at 6:20
also to add python zip ==Transpose[{lst1,lst2...}] –  joojaa Apr 8 at 6:28
MapThread seems what I was looking for but what is the purpose to have different functions Map and MapThread? –  Jānis Erdmanis Apr 8 at 8:18
@JānisErdmanis That one is perhaps a question worth posting –  belisarius Apr 8 at 11:59