[Tutor] simple random string generator

eryksun eryksun at gmail.com
Tue Sep 18 12:02:29 CEST 2012


On Tue, Sep 18, 2012 at 1:24 AM, Dave Angel <d at davea.name> wrote:
> On 09/18/2012 01:15 AM, Mark Lawrence wrote:
>> @Matthew Dalrymple I don't know what is happening but that's at least
>> two messages from you that show precisely nothing, just original
>> comments from others.  Anyone else seeing the same thing?  I'm reading
>> through gmane on Windows Vista with Thunderbird.
>
> I had already sent Matthew a message advising him to hit enter (to get a
> blank line), so that his remarks aren't just mixed in with the ones he's
> replying to.  If you look closely, you can find his remarks beginning
> with the phrase "so what should be done..."  You can recognize it the
> lack of capitalization or paragraph boundaries.


It's HTML:


    <BR>&nbsp=3B<BR><strong>

    so what should be done then would be to make sure
    that the start and end time are like this?

    </strong><BR><strong></strong>&nbsp=3B<BR><strong>

    for n in range(10=2C 101=2C 5):

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B

        word =3D mkword(n)

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B

        start =3D time.time()

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B

        for i in range(10000):

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B&nbsp
    =3B&nbsp=3B&nbsp=3B&nbsp=3B

            anagramSolutionX(word=2Cword=2C

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B

    end1 =3D time.time()

    </strong><BR><strong>&nbsp=3B&nbsp=3B&nbsp=3B

    solu2 =3D end1 - start

    </strong><BR><strong></strong>&nbsp=3B<BR><strong>

    is that right?

    </strong><BR><strong>

    sorry if im making this harder than it should be

    </strong><BR><strong></strong>&nbsp=3B<BR><strong>

    to me that would make sense because you would be
    asking it to do it 10000 times before it would move
    on to the end time?

    </strong><BR><strong></strong>&nbsp=3B<BR><strong>

    thanks again for all the help guys

    </strong><BR><strong>

    it means a lot

    </strong>


More information about the Tutor mailing list