Kit wrote:
Thank you so much guys.

Just out of curiosity: can I do something like this to "square all
even numbers in the range 1-10"?
print [x^2 for x in range (1,11) if x % 2 == 0]

Why not try it?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to