Hello all, I am new to coding. I am trying to take HTML content from a website called iKnow Core 6k for Japanese learning. I am hoping to retrieve the content of the document by class name of 'text'. The issue I am running into is that the class name is used twice in the kanji vocabulary word and again for the corresponding sentence utilizing said vocabulary word in two different sentences. I have created a list to seperate the vocabulary word in list 1, and a second list to push all the sentences into. Where I am having trouble is separating every other sentence from list 2 into list 4 and the remaining sentences into list 3. The website in question is Iknow Core 6k Core 1,000 Step 1. https://iknow.jp/courses/566921
The list 2 contains an array of 200 elements which is then split up to 100 in list 3 and 100 in list 4. I want the even number index elements from list 2 pushed into list 3 and odd number index elements from list 2 pushed into list 4. Currently list 3 begins with index of 1 from list 2 instead of index 0.