This is most likely a silly question and me not understanding python
enough. I am a mentor for some high school kids participating in a
supercomputing challenge. My background in programming is F77 (yeah
laugh it up) and I want the kids to learn python and use it for the
challenge.
They
You need to include the line
import random
at the beginning of your program. This gives you access to the contents of the 'random' module such
as random.choice().
This chapter of the tutorial talks about modules:
http://docs.python.org/tut/node8.html
Kent
Kooser, Ara S wrote:
This is most
Kooser, Ara S said unto the world upon 2005-01-05 10:15:
This is most likely a silly question and me not understanding python
enough. I am a mentor for some high school kids participating in a
supercomputing challenge. My background in programming is F77 (yeah
laugh it up) and I want the kids
On Wed, 5 Jan 2005, Kooser, Ara S wrote:
They picked a project to model the flow of smallpox in a city and
surroundings areas. So I saw the game of life and thought maybe they
could modify it for use as a smallpox model.
Hi Ara,
Oh! My apologies for not posting the file as a complete