Plus, when the word that comes before 와 or 과 finishes with the word that contains final consonant, you use "과" and otherwise, use "와". For example, 수학과 영어를 좋아해요. In this case, 수학(mathematics) has final consonant in the last letter which is ㄱ. So I used 수학"과".
딸기와 포도를 좋아해요. Here, 딸기(strawberry) does not have final consonant, so you will use "와".
고맙습니다. 선생님. Thanks for kind teaching.