#!/bin/sh python3 - <<'EOF' a=[1,2,3,4,5,6,7,8,9,10] b=[(1,2),(3,4),(5,6),(7,8)] c=sum(a) d=[x*y for x,y in b] print(c,d) EOF