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?
customer_list[0].balance+=250
Comments
Leave a comment