[NooB] Using Escape Sesquences with Strings...

administrata administrata at hotmail.com
Fri Feb 11 06:29:46 EST 2005


Hello! :)
I've reading 'Python Programmin for the Absolute beginner'.
I got questions which is...

print "\t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "

rock = """
Igneous          Sedimentary          Metamorphic

Lava             Grains               Marble
Ramdom crystals  Layer                Bands
Granite          Salt                 Schist
Intrusive        Weathering           Heat + Pressure
                 Deposition           Change"""
print \trock

print "\t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "

error occurs!

I don't know how to \t The variable.

Help!



More information about the Python-list mailing list