Right thanks for all the help guys, finally got it working. It was because
as previously suggested, I was using Idle instead of the terminal.
Again thanks for all the help
John
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscriptio
do
> >
> >>>> "0"*10
> > '00'
>
> Ah, you're absolutely right. Sorry, I misunderstood you and your '*'.
> Good catch.
>
> Dick
>
>
> --
>
> Message: 4
> Date: Mon,
dh6SX3q>, which uses Steve
> D'Aprano's random_digits function, took 201 seconds (3.35 minutes).
>
> Still, I understand yours, and not his (the return line). I'd never
> noticed random.sample() before, nor tried out extend() on a list. So
> thanks, Bob.
>
> Dick
Hi
I've just decided to try an learn python but i'm already stuck on one of the
first exercises, i've given the link below:
http://en.wikibooks.org/wiki/Python_Programming/Creating_Python_programs
The exercise that i'm stuck on is number three:
I've looked at the solution but it appears not to