# coding=utf-8

# for循环语句

str = "abcdefg"

# for语句
for ch in str:
    print "ch = %s" % ch


# for...else 语句
for a in range(0, 10):
    print "a = %d" % a
else:
    print "循环结束了"
# coding=utf-8

# for循环语句

str = "abcdefg"

# for语句
for ch in str:
    print "ch = %s" % ch


# for...else 语句
for a in range(0, 10):
    print "a = %d" % a
else:
    print "循环结束了"
# coding=utf-8 # for循环语句 # for语句 # for...else 语句