Vibe coded or not?
class Cheese:
def __init__(self, num_holes=0):
if num_holes == 0:
import random
self.number_of_holes = random.randint(1, 10) else:
self.number_of_holes = num_holes
parmesan = Cheese(num_holes=15)
gouda = Cheese()
class Cheese:
def __init__(self, num_holes=None):
if num_holes is None:
...