Hello, can anyone tell me what is wrong with this code please
I need to complete the code to allow the addition of two Zumo objects, resulting in a new Zumo object with the combination of capacity names of the two juices that have been added. For example, if you add an orange juice with a capacity of 1.0 and an apple juice with a capacity of 2.5, the resulting juice should have: name: Orange & Apple capacity: 3.5 The result basically is this: Orange&Apple (3.5L). I made this code class Juice: def __init__(self, name, capasity): self.name = name self.capasity = capasity def __str__(self): return (self.name + ' ('+str(self.capacity)+'L)') x = Juice("Orange",32.0) y = Juice("Apple",23.5) z = x.name+"&"+y.name e = x.capasity + y.capasity print (z,e) and the result is: Orange&Apple 3.5 But i need the other result: Orange&Apple (3.5L) For some reason I doesn't work my code in order to get the "(3.5L)" part. If anyone could help me with this it would be great