Is there any way of finding words in a 10 x 10 grid, going horizontally and vertically? For example, if i had a text file with the following in:
how would you be able to find the words red and yellow which are both displayed vertically as well as plane and king?
im assuming you start by importing the file and reading it using:
file = open('filename.txt') text = file.read()