hey im new to the tutor thing so please correct me if im doing something wrong.
Anyway what i am trying to do is make a simple string (word) generator and get
it to make strings (or words) starting at 10 chars up to 100 in steps of 5
using a make word function. Now my problem is how do i get
thanks for everyone that gave me a hand...i think i got most of the program
done... now i just need to time how long it takes to run each anagramSolution
functions to see which one is faster...now i think i might have got it done but
for some reason both lines are pretty close to the same
> >
> >
>
> Did you look for bugs before trying to time it? For example, did you
> intend that it test the sizes from 10 thru 195 in steps of 5, or did you
> intend from 10 to 100, as you stated in your first post?
>
> Would you care to add a docstring to those functions to indicate what
> the
oh :S ok im sorry...i will change that thenthanks
> Date: Mon, 17 Sep 2012 18:19:50 -0400
> From: d...@davea.name
> To: computer_dud...@hotmail.com
> CC: tutor@python.org
> Subject: Re: [Tutor] simple random string generator
>
> On 09/17/2012 05:40 PM, Ma
> Look at what your timing code does:
>
> start = time.time()
> for i in range(1):
> anagramSolution2(word,word)
> end1 = time.time()
> solu2 = end1 - start
>
>
> Translated into English:
>
> * start the timer
> * iteration 1 begins
> * call the anagram function
> * grab the
occurred due to this
Thanks for all of your help
Matt
> To: tutor@python.org
> From: breamore...@yahoo.co.uk
> Date: Tue, 18 Sep 2012 06:15:49 +0100
> Subject: Re: [Tutor] simple random string generator
>
> @Matthew Dalrymple I don't know what is happening but that's
400
From: bgai...@gmail.com
To: computer_dud...@hotmail.com
CC: tutor@python.org
Subject: Re: [Tutor] html checker
On 10/1/2012 11:45 AM, Matthew
Dalrymple wrote:
Im trying to write an html syntax checker...pretty much read an
imported file,
> Subject: Re: [Tutor] html checker
> From: walksl...@gmail.com
> Date: Mon, 1 Oct 2012 12:38:07 -0700
> CC: tutor@python.org
> To: computer_dud...@hotmail.com
>
> Dear Matthew,
>
> > I don't need to hear how bad my programs are...either you are gonna help or
> > your not...if you have questi
player1.py > http://pastebin.com/jzv1Hhs1blackjack.py >
http://pastebin.com/Vj3sp3Ca ok the problem im having is with the GetBet
function...i need it so you start with 1000 it will bet 5 everytime...if i win
it adds 5 if i lose it subtracts 5 if we tie nothing changes. I think this i