Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name = 'Zed A. Shaw'
- age = 35 # not a lie
- height = 74 # inches
- height_in_cm = height * 2.54
- weight = 180 # lbs
- weight_in_kg = weight * 0.45359237
- eyes = 'Blue'
- teeth = 'White'
- hair = 'Brown'
- print "Let's talk about %s." % name
- print "He's %d inches (%d cm) tall." % (height, height_in_cm)
- print "He's %d pounds (%d kg) heavy" % (weight, weight_in_kg)
- print "Actually that's not too heavy."
- print "He's got %s eyes and %s hair." % (eyes, hair)
- print "His teeth are usually %s depending on the coffee." % teeth
- # this line is tricky, try to get it exactly right
- print "If I add %d, %d, and %d I get %d." % (
- age, height, weight, age + height + weight)
- print "He weights %d kilos." % (weight * 0.45359237)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement