[Tutor] Two subsequent for loops in one function - I got it!
Alan Gauld
alan.gauld at btinternet.com
Sat Nov 23 23:06:24 CET 2013
On 23/11/13 20:54, Rafael Knuth wrote:
>> See? It has no output. By the way, the python REPL is your friend!
> Unfortunately, I only found Python REPLs for version 2.7.2 or lower.
> Is there a REPL for 3.3.0 ..?
The REPL (read–eval–print loop) is the >>> prompt.
You type stuff in and Python reads it(R),
evaluates it(E),
prints the result(P)
and then asks for more input to read(L).
It exists in every version of Python and is frequently
underestimated in its power to unravel what python is
doing.
In other words, just play with the interpreter...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list