Comment

Comment by dfinninger

Well, a bash for loop is pretty close to Python:

    for x in a b c; do
        echo $x
    done
Or ranges:

    for i in {1..10}; do echo $i; done
Do you mean list comprehensions?
parent dfinninger 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton