# --coding: utf-8 --
__author__ = 'lovexiaov'

pystr = "Python"
iscool = "is cool!"

print "Variable pystr: " + pystr
print "Variable iscool: " + iscool
# '*' means repeat
print '-' * 20

print "pystr[0] is: " + pystr[0]
print 'pystr[0:3] is: ' + pystr[0:3]
print 'iscool[:2] is: ' + iscool[:2]
print 'iscool[-1] is: ' + iscool[-1]

# three-quotes can contains special characters
str1 = '''Python
is cool!'''

print str1