2012/1/8 emin <oldcowboyro...@gmail.com>: > http://www.youtube.com/watch?src_vid=QaYAOR4Jq2E&feature=iv&annotation_id=annotation_149056&v=M3g1GEkmyrw > in this tutorial what does mean x%2 ? > i think: i * 2% = always even number > but why not 4,6 or 8? but i * 4(6,8,10,12...)% = always even number too > for example: 100 * 2(4,6,8,10,12...)% = 2(4,6,8,10,12...) > even numbers = {2,4,6,8,10,12...} > and how pyton understanding 0(even or odd number or it is an exception?)?
While it is true that all numbers divisible by 4 are even, not all even numbers are divisible by 4. All even numbers, however, are divisible by 2. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor