第12961题 单选
执行给定的Python类程序后,打印的输出结果是什么?
class Cars():
    def __init__(self,color,shape):
        self.color = color
        self.shape = shape
        print('您定制的{}{}已经生产好了!'.format(self.color,self.shape))
new_car = Cars('红色','小汽车')
A

小汽车

B

红色

C

您定制的已经生产好了!

D

您定制的红色小汽车已经生产好了!

提交0次 正确率0.00%
答案解析