[Tutor] writing function changeColor
Aditi Pai
aditipai1227 at gmail.com
Wed Jul 18 19:10:51 CEST 2012
Hello,
I am trying to write a function changeColor for an assignment. Two things
that I am unsure about for this assignment are how to assign different
colors to integers so that, red will be 1, blue will be 2, etc. Also, I
learned python so that if I were to put in 0.9, it'd decrease red by 10%.
The way this function needs to be written, -0.1 decreases red by 10%
Where can I find information on these two topics?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120718/b8bfba30/attachment.html>
More information about the Tutor
mailing list