Im new to classes, how do pass my checks below
class Jar:
def __init__(self, capacity=12):
if capacity < 0:
raise ValueError
self.capacity = capacity
def __str__(self):
for n in self.capacity:
return print(":cookie:", end=end)
def deposit(self, n):
n = input("add cookies to jar")
self.capacity += n
if self.capacity >= 12:
raise ValueError
def withdraw(self, n):
...
@property
def capacity(self):
return print("12")
@property
def size(self):
return print(self.capacity)