# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# Name: ex_05.py
# Purpose: 读取文件.
#
# Author: huanghuan
#
# Created: 14-08-2013
# Copyright: (c) huanghuan 2013
# Licence: <your licence>
#-------------------------------------------------------------------------------
my_name = 'Zed A. Shaw'
my_age = 35
my_height = 74 # inches
my_weight = 180 # lbs
my_eyes = 'Blue'
my_teeth = 'white'
my_hair = 'brown'
print "Let's talk about %s." % my_name
print "He's %d inches tall." % my_height
print "He's %d pounds heavy." % my_weight
print "actually that's not too heavy."
# tricky code
print "He's got %s eyes and %s hair." % (my_eyes,my_hair)
print "His teeth are usually %s depending on the coffee." % my_teeth
# tricky code
print "if I add %d, %d, and %d I get %d." % (
my_age, my_height, my_weight, my_age + my_height + my_weight)
print " %d" % (round(1.7334))