Questions & Answers about Hoy compré yogur y miel en la tienda del barrio.
The accent mark in compré shows the correct stress: com-PRÉ.
It also helps distinguish it from other forms:
- compre = I buy / he, she, you buy (subjunctive or formal command contexts)
- compré = I bought
So the accent is important both for pronunciation and meaning.
Spanish often omits subject pronouns when they are clear from the verb form.
Because compré already means I bought, Spanish does not need yo unless the speaker wants emphasis or contrast.
- Hoy compré yogur... = normal, natural
- Yo compré yogur... = I bought yogurt... (more emphasis)
This is very common in Spanish.