I thank you all for your responses and helping me think this through.
I would like some advice if you guys dont mind. For this particular problem i was never told that i could pull out an element from a list without having to iterate though it, that is why i kept doing for loops every time i wanted to pull out a word to stitch it to my sb.
And this has happened often in class, im going to use another loop as example: I was thought how to use a nested for loop to create patterns, like a square , or a rectangle. But then the homework was to create said rectangle but with the perimeter only. So there i was seating at the tutor center having to ask them to explain to me how i could accomplish this daunting task. I feel like while in class im presented with a tool box and handed a carpenter hammer, but i know there is other tools in there that could be useful to get the job done. Then Im asked to put a nail on the wall, but i dont have a nail, so i must look in that tool box and find the nail but not just any nail, a specific one that fits the situation.
I dont know if that makes sense, i guess the question is, how can i turn that carpenter hammer into a jackhammer?, i feel like im confined to the material learned in class, i have browsed the web looking for examples related to what im learning but every time i browse the terms "java", "programming", "examples" im bombarded with content that doesnt even apply to my interest. I really want to become a god programmer but every time i hit a wall i feel deterred and feel like changing my major from Cs to History
, talk about contrast.