Hello,

can anyone help me on the fellowing...

Write a function that will take two arguments: a word to be searched for and a list of strings containing the grid.
The function should search for a horizontal left-to-right or vertical downwards occurrence of the word (e.g. activex and capslock in the sample grid).

I dont know, maybe you should ask Mike.

i will ask Mike but seems later. tomorrow defo will ask him lol

Easiest way to look in columns is to do transposing of the grid and search second time in rows. You can transpose list by doing

trasposed = list(zip(*grid))

You can keep count in the for loop by using enumerate on lines/colums.

And where is his code?

no hands?????
;)