单选题

想得到的输出为"My name is Kevin and I am 10 years old."以下选项正确的是?( )

A

print('My name is %s and I am %d years old.',%('Kevin',10))

B

print('My name is %s and I am %d years old.'%('Kevin',10))

C

print('My name is %c and I am %d years old.'%('Kevin',10))

D

print('My name is %s and I am %d years old.'%',Kevin',%10))

赣ICP备20007335号-2