Generating a rainbow?
Robert Kern
robert.kern at gmail.com
Sun Apr 11 18:21:20 EDT 2010
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.
>>
>> http://tobiah.org/rainbow.html
>
> Better than before ... Oy G. Bivr
Uh, the first color is #FF0000, pure red, not orange.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list