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
- weight = 180 #lbs
- eyes = 'Blue'
- teeth = 'White'
- hair = 'Brown'
- height_in_centimeters = height * 2.54
- weight_in_kilos = weight * 0.453592
- print "Let's talk about %s." % name
- print "He's %d inches tall." %height
- print "He's %d centimeters tall." %height_in_centimeters
- print "He's %d pounds heavy." %weight
- print "He's %d kilos heavy." %weight_in_kilos
- print "Actually that's not 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement