配列の要素の位置

🟢 Python
投稿日: 2026年5月10日7:33
l = [30, 50, 10, 40, 20]

print(l.index(30))
# 0
indexメソッド
No Comment