单选题

运行下列程序,要想输出的结果是小明的身高是1.55。横线处需要填入的代码为?(   )

height = 1.55

print('小明的身高是____。' % height)

A

%d

B

%f

C

%.f

D

%.2f

赣ICP备20007335号-2