• 2022-06-19
    如果执行以下代码,会输出什么值:from traits.api import HasTraits, Color class Circle(HasTraits): color = Color c = Circle() c.color = 'blue' print(c.color.getRgb())
    A: (255,0,0,255)
    B: (0,255,0,255)
    C: (0,0,255,255)
    D: (255,255,255,255)