Nested for loops and print statements

Terry Reedy tjreedy at udel.edu
Mon Sep 26 16:33:02 EDT 2016


On 9/26/2016 12:54 PM, Cai Gengyang wrote:

> Which piece of code is indented with tabs and which one is indented with spaces ?

I told you in my initial answer, where I said, referring to the two 
indented lines in one 'piece of code', "These indents are 4 spaces and 1 
tabs."  It is the mixture in one piece of code that is the problem.  The 
tab in your original post has since be converted to (4) spaces.  Tabs do 
not survive in email, sometimes just being deleted.


-- 
Terry Jan Reedy




More information about the Python-list mailing list