# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# Name: ex_08.py
# Purpose: 读取文件.
#
# Author: huanghuan
#
# Created: 14-08-2013
# Copyright: (c) huanghuan 2013
# Licence: <your licence>
#-------------------------------------------------------------------------------
# 如下是一种格式.
formatter = "%r %r %r %r"
print formatter % (1, 2, 3, 4)
print formatter % ("one", "two", "three", "four")
print formatter % (True, False, False, True)
print formatter % (formatter, formatter, formatter, formatter)
print formatter % ("I had this thing.",
"That you could type up right.",
"But it did't sing.",
"So I said goodnight."
)