On 04/24/2013 10:59 AM, Sydney Shall wrote:
//I am a beginner just learning Python.
I have come across the following usage for the first time.
totalViruses[i] /= float(numTrials)
Does it mean? ; totalViruses[i] = totalViruses[i]/float(numTrials)
--
Sydney
That's exactly right, you can also use *= , +=, -=, |=, &= and
maybe there are others? -m
--
Lark's Tongue Guide to Python: http://lightbird.net/larks/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor