Generating a rainbow?

Peter Parker parkerp at
Mon Apr 12 04:26:07 CEST 2010

Robert Kern wrote:
> On 2010-04-11 12:54 , Peter Parker wrote:
>> Tobiah wrote:
>>>>> You should use different variables for the two loops.
>>>> Actually it is closing the divs that makes it work in FireFox:
>>> Hah. I new that the rainbow wasn't complete and that it
>>> didn't work in Opera. I just fizzled on the closing of the
>>> divs.
>>> I also don't get why it worked at all when I was stomping
>>> on my x variable in the inside loop.
>>> It's better now.
>> Better than before ... Oy G. Bivr
> Uh, the first color is #FF0000, pure red, not orange.

Ah, you're right, but it's only 1 pixel high so it's hard to
see. The last one is also #FF0000, pure red ... Roy G. Bivr

More information about the Python-list mailing list