Computer Studies‎ > ‎Python‎ > ‎Video Tutorials‎ > ‎

06 - Strings

Watch the following video, and do the examples shown in the video as they are demonstrated. 


There is no assignment for this tutorial.

Notes from the video

The back-slash "\" can be used as an escape character to print the next character. 

See the following table for valid escape sequences.

\newline Ignored
\\ Backslash (\)
\' Single quote (')
\" Double quote (")
\a ASCII Bell (BEL)
\b ASCII Backspace (BS)
\f ASCII Formfeed (FF)
\n ASCII Linefeed (LF)
\N{name} Character named name in the Unicode database (Unicode only)
\r ASCII Carriage Return (CR)
\t ASCII Horizontal Tab (TAB)
\uxxxx Character with 16-bit hex value xxxx (Unicode only)
\Uxxxxxxxx Character with 32-bit hex value xxxxxxxx (Unicode only)
\v ASCII Vertical Tab (VT)
\ooo Character with octal value ooo
\xhh Character with hex value hh