"hello, world!"
"david said "how are you?""
'david said "how are you?"'
>>> "hello" + "world"
'helloworld'
>>> "hello" + " world"
'hello world'
>>> a = "1"
>>> b = "2"
>>> c = a + b
>>> print c
12
>>> "hello " * 2
'hello hello '
>>> "hello " * 3
'hello hello hello '
>>> print len("hello")
5
>>> print len("i said 'hello'")
14
>>> for i in 1, 2, 3:
... print i
...
1
2
3
>>> for letter in "hello":
... print letter
...
h
e
l
l
o
>>> str = ''
>>> for letter in "hello":
... str = letter + str
...
>>> print str
olleh
time.sleep(2)
time.sleep(0.5)
import time
str1 = "AAAAAAAAA"
str2 = "OOOOOOOOO"
str3 = "bbbbbbbbb"
str4 = "HELLO"
str5 = " "