Add another implementation using python list and join