(a) Create a list dynamically that contains the total bill amounts for 7 days of the week in a supermarket. (1) (b)Then create two more lists – One containing the bill amounts for odd days of the week and the other for the even days of the week. (2) (c) Combine both the lists. Print the combined list. Sort the list. Display the items.
Aucun commentaire:
Enregistrer un commentaire