Question #337585

The python list called customer_list contains a list of 6 objects of the Customer class. Each customer object as 2 public attributes: name and balance. Which of the following statements will correctly add R250 to the first customer object's balance?

Expert's answer

customer_list[0].balance+=250

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS