of course

US /əv kɔːrs/
UK /əv kɔːrs/
"of course" picture
1.

por supuesto, claro

used to say that something is obvious or expected

:
Are you coming to the party? Of course!
¿Vienes a la fiesta? ¡Por supuesto!
Of course, I'll help you with your homework.
Por supuesto, te ayudaré con tu tarea.
2.

por supuesto, claro

used to grant permission or agree to something

:
May I use your pen? Of course, go ahead.
¿Puedo usar tu bolígrafo? Por supuesto, adelante.
You can leave early today, of course.
Puedes irte temprano hoy, por supuesto.