Need help on a project To :"Create a class called BankAccount with the following parameters "

Prince Udoka princeudo52 at gmail.com
Sun Dec 27 15:32:11 EST 2015


thanks mr cameron simpson, finally at i got the solution, God bless you:
def manipulate_data(kind, data):
    if kind == 'list':
        for data in [1, 2, 3, 4, 5]:
            return data.reverse()
    elif kind == 'set':
        for data in {"a", "b", "c", "d", "e"}:
            data.add("ANDELA")
            data.add("TIA")
            data.add("AFRICA")
            return data
    elif kind == 'dictionary':
        for data in  {"apples": 23, "oranges": 15, "mangoes": 3, "grape": 45}:
            return data.key()



More information about the Python-list mailing list