wordsearch

jezkator at gmail.com jezkator at gmail.com
Tue Nov 19 11:23:53 EST 2019


Dne úterý 19. listopadu 2019 17:14:06 UTC+1 jezk... at gmail.com napsal(a):
> Dne úterý 19. listopadu 2019 17:07:36 UTC+1 Richard Damon napsal(a):
> > On Nov 19, 2019, at 10:56 AM, Chris Angelico <rosuav at gmail.com> wrote:
> > > 
> > > On Wed, Nov 20, 2019 at 2:46 AM <jezkator at gmail.com> wrote:
> > >> 
> > >> Dne úterý 19. listopadu 2019 13:33:53 UTC+1 Richard Damon napsal(a):
> > >>>> On 11/19/19 6:47 AM, jezkator at gmail.com wrote:
> > >>>>> Hi, I have got a problem in my searchword. Everything runs properly. Output writes word, coordinates and direction, but i need, that output have same arrangement as second file
> > >>>>> First file includes board, where program search:
> > >>> 
> > >>> Look at our code, and what controls the order you data is output. Change
> > >>> it so that the data is processed in the order you want the output.
> > >>> 
> > >>> --
> > >>> Richard Damon
> > >> 
> > >> I know, that the best way, how i can learn that is by myself, but can u do that with my code and post here, please?
> > > 
> > > Nope.
> > > 
> > > ChrisA
> > > 
> > 
> > Think what order you want your output.
> > Make your main loop go through the data in that order
> > For each of the data, find the answer for that data
> > Print the results.
> > 
> > You should be able to figure this out.
> 
> 
> Ok, so first (outer) loop will be for word in words, than for direction, tuple
> ... But now is problem that it prints 10 times but just the last one is complete and ok

OK, I got it, thnx for help


More information about the Python-list mailing list