Questions & Answers about Eu comprei três livros ontem.
Yes. In Portuguese, the subject pronoun is often dropped because the verb ending already shows who the subject is.
- Eu comprei três livros ontem. = I bought three books yesterday.
- Comprei três livros ontem. = Same meaning; still clearly I bought them.
You usually keep eu:
- for emphasis (Eu comprei, not someone else), or
- in very short contexts where it might be ambiguous.
Comprei is the 1st person singular (eu) of the pretérito perfeito (simple past) of comprar.
Conjugation of comprar in the pretérito perfeito:
- eu comprei – I bought
- você/ele/ela comprou – you/he/she bought
- nós compramos – we bought
- vocês/eles/elas compraram – you (pl.)/they bought
So comprei means “I bought”.
Comprar is the infinitive: to buy.