LLD - Advanced LLD Concepts
Consider this simplified DDD code snippet in Python:
What will be the output?
class Order:
def __init__(self, order_id, items):
self.order_id = order_id
self.items = items
order1 = Order(1, ['apple', 'banana'])
order2 = Order(1, ['apple', 'banana'])
print(order1 == order2)What will be the output?
