To go to the next word in a loop you just need to use the continue function.
Ex.
a = ['a', 'b', 'c', 'd']
for word in a:
continue
But if the code is this:
a = ['a', 'b', 'c', 'd']
for word in a:
for word2 in word:
continue
The continue function works for the second loop, but I want something that works for the first loop and at the same time written in the second loop.