I couldn't find such a basic thing unexpectedly, so make a note
data = ["hoge", "fuga"]
for i in range(len(data)):
print(data[i])
Postscript This seems to be more common > < Thank you Higashino Sola
data = ["hoge", "fuga"]
for s in data:
print(s)
Recommended Posts