I came across this exercise today:
I did this for you
The translation provided was
Eu fiz isto por ti
DeepL’s translation though for the same expression uses “para ti” instead of “por ti”. Are both acceptable here? My impression is that “por” is generally used for “by” and “para” usually translates to “to” or “for”. DeepL apparently agrees with me.