I have a function getloantype(account_no) which I would like to call. The account numbers are in a list [\'10101-2\',\'10101-2\', \'10101-3\'] and
getloantype(account_no)
[\'10101-2\',\'10101-2\', \'10101-3\']