I want to extract a word which is next to the keyword in the line. Note: The keyword exists twice in the line and I want to print both words next to the keyword.
Example:
This is my first Python language and I like this language to the most.
Desired Output:(need words next to language
in below format)
and
to