summaryrefslogtreecommitdiff
path: root/progs/a729.py
blob: 339c5d3ec45ce74123097a8847108fb09046b334 (plain)
1
2
def adjacent_num_product(list_nums):
    return max(a*b for a, b in zip(list_nums, list_nums[1:]))