"desktop" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] |I have found a code example with this loop. | | for k in range(10, 25): | n = 1 << k; | | | I have never read Python before but is it correct ...
One of the super-nice feature of Python is the interactive mode, also available with IDLE and other IDEs. that lets you explore the meaning of Python code faster than you can ask here. Use it and learn. >>> for k in range(10, 25): print 1 << k 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8388608 16777216 -- http://mail.python.org/mailman/listinfo/python-list