Solution 1

# -- DON'T MODIFY --
class Cookie(object):
    DEFAULT_SCARF_COLOR = 'Green'
    DEFAULT_BUTTON_COLOR = 'Blue'
# -- DON'T MODIFY --

# Write your code below this line:

Cookie.DEFAULT_SCARF_COLOR = 'Yellow'
Cookie.DEFAULT_BUTTON_COLOR = 'Red'

Set Class Attributes

Given the following already defined class Cookie, update both class attributes to be 'Yellow' for the Scarf and 'red' for the buttons. Important: You can't change the code of the class, you're supposed to write new code below the marked line.

Test Cases

test attributes - Run Test

def test_attributes():
    assert Cookie.DEFAULT_SCARF_COLOR == 'Yellow'
    assert Cookie.DEFAULT_BUTTON_COLOR == 'Red'
# -- DON'T MODIFY -- class Cookie(object): DEFAULT_SCARF_COLOR = 'Green' DEFAULT_BUTTON_COLOR = 'Blue' # -- DON'T MODIFY -- # Write your code below this line: