[PYTHON] If it was Ruby

['one', 'two', 'three'].each{|num| ...

Please tell me the coolest way to write a place like that in Python as well.

Recommended Posts

If it was Ruby
I wondered if Python 3.4 was faster, but it was slower
Even if I uploaded HTML with boto3, it was not recognized as HTML