Single-Quoted Strings and Escaping Quotes : Quote « String « Python Tutorial






print "Hello, world!" 
print 'Hello, world!' 
print "Let's go!"
print '"Hello, world!" she said'

print 'Let\'s go!' 
print "\"Hello, world!\" she said"








5.21.Quote
5.21.1.Single-Quoted Strings and Escaping Quotes
5.21.2.Triple Quotes
5.21.3.Creating strings and using quote characters in strings.