Re: [Tutor] An Introduction and a question (continuing)

2006-06-10 Thread Kent Johnson
Michael Sullivan wrote: OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece: This class defines a single playing

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Michael Sullivan
OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece: This class defines a single playing piece for LinePuzzle def

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Python
On Fri, 2006-06-09 at 16:28 -0500, Michael Sullivan wrote: OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece:

Re: [Tutor] An Introduction and a question (continuing)

2006-06-09 Thread Bob Gailer
Michael Sullivan wrote: OK. I've got it working this far. Now I want the script to generate eight pieces, each with a random colour. Here's my current code: #!/usr/bin/env python import random import time import math class LinePuzzlePiece: """This class defines a single playing