我使用了一本书所以这段代码是从书 我需要它,从蟒蛇2.5〜3.3我如何转换这个Python代码?
my_name = 'Zed A. Shaw'
my_age = 35
my_height = 75
my_weight = 180
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 "He 's got %s eyes and %s hair." % (my_eyes, my_hair)
print "His teeth are usually %s depending on the coffe." % my_teeth
这个问题似乎是脱离主题,因为它是关于基本的Python语法。 – iCodez