How to do Single Line for Loop in Python?

How to do Single Line for Loop in Python?