How to do Single Line for Loop in Python?

How to do Single Line for Loop in Python?

More to explore

Based on this image's title: “How to do Single Line for Loop in Python?