alice-teacher random number question

Ella Glazer ella.glazer at gmail.com
Mon Nov 1 12:13:06 EDT 2010


Is there any way to show a random number?
I am trying to play a simple game with random numbers and I would like to
know what is coming up.  The number (0 - 100) most of the time is less than
5.  Attached is the code.  If the number <5 (should actually be <50) the cow
is appears green else the cow is blue.

What am I doing wrong?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20101101/21750543/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rando1.doc
Type: application/msword
Size: 46592 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/alice-teachers/attachments/20101101/21750543/attachment.doc 


More information about the alice-teachers mailing list