In Spanish, verbs change according to the person we're talking about. Something similar happens in English when we use the third person singular pronouns he/she:
I run You run He/She runs
Spanish is similar, the suffix changes depending on who we're talking about. Your task is to write a function called conjugate which will return a Spanish verb in all of its conjugations.
["como", "comes", "come", "comemos", "coméis", "comen"]
["vivo", "vives", "vive", "vivimos", "vivís", "viven"]
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!