String escape sequences Demo : String Escape « String « Python






String escape sequences Demo

String escape sequences Demo
 
print "\a"

print "\t\t\tDemo"

print "\t\t\t \\ \\ \\ \\ \\ \\ \\"
print "\t\t\t\tby"
print "\t\t\tDemo2s.com"
print "\t\t\t \\ \\ \\ \\ \\ \\ \\"

print "\nSpecial thanks goes out to:"
print "Some text \'in quote\', \"can\'t\"."


           
         
  








Related examples in the same category

1.Escape Codes: \b, \t, \n, \a, \rEscape Codes: \b, \t, \n, \a, \r
2.Escape characters: \n and \tEscape characters: \n and \t
3.Demonstrates the use of quotes in strings