A59744. 如下Python程序:class Cars()
单选题
知识点
题目描述
如下Python程序:
class Cars():
def __init__(self,color,shape):
self.color = color
self.shape = shape
print('您定制的{}{}已经生产好了!'.format(self.color,self.shape))
new_car = Cars('红色','小汽车')执行程序后,打印的结果是?( )
选项(单选)
答案解析
详细答案解析为会员权益,按每日次数查看。
开通 / 升级会员