I have been tasked to do a small mission for a list that contains only strings I need to check the following and create a list if there is a capital letter in the string I need to isolate that word and put it in the new list as a separate word, for example for the list
str_list = [“This”, “is”, “not a Red”, “”, “wine, but a white One”]
the new one needs to look like this
split_str_list = [“This”, “is”, “not a ”, ”Red”, “”, “wine, but a white “, ”One”]
thank you very much for the help