Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97993

Re: i want to print next element i liste

Newsgroups comp.lang.python
Date 2015-10-29 01:55 -0700
References (1 earlier) <76077a86-40cf-42b0-bace-a8c25c03729e@googlegroups.com> <n0qs11$3v5$1@dont-email.me> <f4b6cec8-0404-46ee-bc60-49f721c5cb6e@googlegroups.com> <0cb60a10-186b-45fb-8170-28003e901921@googlegroups.com> <sPudnc0nj4EbHazLnZ2dnUU7-a2dnZ2d@giganews.com>
Message-ID <fea1d5fa-e3c8-40f4-9372-669634938718@googlegroups.com> (permalink)
Subject Re: i want to print next element i liste
From Ellelele Toget <ellelelet@gmail.com>

Show all headers | View raw


On Thursday, October 29, 2015 at 3:12:49 AM UTC+1, Larry Hudson wrote:
> On 10/28/2015 03:02 PM, Ellelele Toget wrote:
> > On Wednesday, October 28, 2015 at 10:59:19 PM UTC+1, Ellelele Toget wrote:
> >> On Wednesday, October 28, 2015 at 5:12:45 PM UTC+1, Christian Gollwitzer wrote:
> >>> Am 28.10.15 um 15:34 schrieb Ellelele Toget:
> >>>> On Wednesday, October 28, 2015 at 1:23:40 PM UTC+1, Ellelele Toget wrote:
> >>>>> L=[house, book, pen, book, pencil, book, clock, cat, book, good, write]
> >>>>> for i,w in enumerate(L):
> >>>>>       if L.count(w)>=3:
> >>>>>          order_list.append(i)
> >>>>>          print i,w
> >>>>>
> >>>>>    result:
> >>>>> 1 book
> >>>>> 3 book
> >>>>> 5 book
> >>>>> 8 book
> >>>>> how can i print "good" then? it comes after last book element.
> 
> [snip]
> 
> >
> > i will only good
> >
> You will have to explain to us what is special about 'good' that makes it different from 
> 'house', 'pen', 'pencil', 'clock', 'cat' or 'write'.
> 
>       -=- Larry -=-

When the transmitting host receives least three duplicate ACKs from the recipient it assumes the packet was indeed lost in transit and immediately sends a fast retransmission. This fast retransmission is different than a standard retransmission because once it is triggered all other packets being transmitted are queued until it is sent. 

i put all packets in list and after i will find least 3 duplicate packets and it print soon coming next packet, if it is 3 duplicate packets it print 4. packet. if it is 25 duplicate packet it print 26. packet. Algorithm run so:)

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

i want to print next element i liste ellelelet@gmail.com - 2015-10-28 05:23 -0700
  Re: i want to print next element i liste darnold <darnold992000@yahoo.com> - 2015-10-28 07:05 -0700
    Re: i want to print next element i liste darnold <darnold992000@yahoo.com> - 2015-10-28 07:16 -0700
  Re: i want to print next element i liste Ellelele Toget <ellelelet@gmail.com> - 2015-10-28 07:34 -0700
    Re: i want to print next element i liste Christian Gollwitzer <auriocus@gmx.de> - 2015-10-28 17:12 +0100
      Re: i want to print next element i liste Ellelele Toget <ellelelet@gmail.com> - 2015-10-28 14:58 -0700
        Re: i want to print next element i liste Ellelele Toget <ellelelet@gmail.com> - 2015-10-28 15:02 -0700
          Re: i want to print next element i liste Larry Hudson <orgnut@yahoo.com> - 2015-10-28 19:12 -0700
            Re: i want to print next element i liste Ellelele Toget <ellelelet@gmail.com> - 2015-10-29 01:55 -0700
              Re: i want to print next element i liste Denis McMahon <denismfmcmahon@gmail.com> - 2015-10-29 12:48 +0000

csiph-web