---
id: 5e7b9f070b6c005b0e76f05d
title: '迭代：定義循環'
challengeType: 11
videoId: hiRTRAqNlpE
bilibiliIds:
  aid: 291987032
  bvid: BV1ff4y157Q3
  cid: 376385255
dashedName: iterations-definite-loops
---

# --question--

## --text--

以下代碼將打印多少行？

```python
for i in [2,1,5]:
    print(i)
```

## --answers--

1

---

2

---

3

---

5

## --video-solution--

3

