adamogardner
September 18th, 2008, 01:17 AM
Hi, I'm on chapter 7 of learning Python and I'm going through stuff one section at a time and for some reason this string :
>>> s = 'a\nb\tc'
>>> s
'a\nb\tc'
as you can see did not create a new line (\n) for 'b' & 'c' nor a tab(\t) for 'c'. Am I a big dummy? Did I miss a section?
ah sorry remove this thread I figured it out I need to type 'print s'
>>> s = 'a\nb\tc'
>>> s
'a\nb\tc'
as you can see did not create a new line (\n) for 'b' & 'c' nor a tab(\t) for 'c'. Am I a big dummy? Did I miss a section?
ah sorry remove this thread I figured it out I need to type 'print s'