文字列関係
print "Hello, World!"
print "2nd Hello","World"
print """
<html>
<head><title>This is Test </title</head>
<body></body>
</html>
"""
print "test"+"Test"
print "-"*40
print len("nanmojiarudesyouka")
print str(7) + "月" + str(12) + "日"
str = "test"
print str[3]
print str[2]
print str[1]
print str[0]
str2 = "ABCDE"
print str2[1:4]
出力
Hello, World!
2nd Hello World
<html>
<head><title>This is Test </title</head>
<body></body>
</html>
testTest
----------------------------------------
18
7月12日
t
s
e
t
BCD