Time is over! You can keep submitting you assignments, but they won't compute for the score of this quiz.
Create a simple class
Cookie that is initialized by providing two arguments:
buttons. The class should initialize the both arguments and also a third one
hat that should be None. Example:
c1 = Cookie(scarf='green', buttons='blue') print(c1.scarf) # 'green' print(c1.buttons) # 'blue' print(c1.hat) # None c2 = Cookie(scarf='yellow', buttons='red') print(c2.scarf) # 'yellow' print(c2.buttons) # 'red' print(c2.hat) # None