import math log_list = lambda l: [math.log(x) for x in l] print(log_list(list_nums))