# Les 3a

## Meerdere figuren

Aan het einde van de les kun jij:

* Hoe je meerdere figuren maakt
* Hoe je je pen op kan tillen én neer kan zitten

### Even opfrissen

Vorige week maakten we kennis met de `for` lus. Hoe ging dat ook al weer?

1\) Wat tekenen deze codes?

Let op! De codes kunnen ook fout zijn! Schrijf dan FOUT.

```python
1.
for i in range(3):
  pen.forward(100)
  pen.left(120)
```

```python
2.
for i in range(6)
  pen.forward(100)
  pen.left(60)
```

```python
3.
for i in range(3):
pen.forward(100)
pen.left(90)
```

```python
4.
for i in range(4):
  pen.forward(100)
  pen.left(90)
```

2\) Welke code hoort bij deze tekeningen? Gebruik een for-lus waar dit handig is.

1. ![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dU82NRu-dqoO9m1%2Fimage-20190318130624359.png?generation=1584609561536751\&alt=media)

2\. ![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUADrppQUoqmJkj%2Fimage-20190325083528686.png?generation=1584609560789729\&alt=media)

1. ![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUClJdQHXjcYLwz%2Fimage-20190322150946880.png?generation=1584609560992889\&alt=media)

4\. ![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUEZbciMwfYfNwX%2Fimage-20190322151013930.png?generation=1584609562205624\&alt=media)

Einde werkblad! Ben je klaar, leg dan je schrift bovenaan op je tafel.

### Meerdere figuren

1\) Wat tekenen deze codes?

```python
1.
for i in range(4):
  pen.forward(100)
  pen.left(90)

for i in range(3):
  pen.forward(100)
  pen.left(120)
```

```python
2.
for i in range(3):
  pen.forward(100)
  pen.left(120)

pen.forward(100)

for i in range(3):
  pen.forward(100)
  pen.left(120)
```

```python
3.
for i in range(4):
  pen.forward(100)
  pen.left(90)

pen.penup()
pen.forward(100)
pen.pendown()

for i in range(4):
  pen.forward(100)
  pen.left(90)
```

```python
4.
for i in range(3):
  pen.forward(100)
  pen.left(60)

pen.forward(100)

for i in range(3):
  pen.forward(100)
  pen.left(60)
```

```python
5. (Ja deze code is echt anders dan de code van 4 hoor. Kijk goed!)
for i in range(3):
  pen.forward(100)
  pen.left(120)

pen.forward(50)

for i in range(3):
  pen.forward(100)
  pen.left(120)
```

```python
6.
for i in range(6):
  pen.forward(100)
  pen.left(60)

pen.penup()
pen.forward(150)
pen.pendown()

for i in range(3):
  pen.forward(100)
  pen.left(120)
```

### Extraatje!

Welke codes horen bij deze tekeningen? Gebruik natuurlijk wel een lus (of meerdere lussen).

1\.

![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUGbRNfX829_KPJ%2Fimage-20190329210728482.png?generation=1584609561442239\&alt=media)

2\.

![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUI3pkD0Mbyh3H5%2Fimage-20190322151224232%20\(1\).png?generation=1584609561777637\&alt=media)

3\.

![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUKw-eT0s4r7XjJ%2Fimage-20190318125810948.png?generation=1584609561931393\&alt=media)

4\.

![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2m4YzYERQsx_Pb1q42%2F-M2m4dUM895A_vwwD4ws%2Fimage-20190329210151106.png?generation=1584609561270307\&alt=media)

Einde werkblad! Ben je klaar, leg dan je schrift bovenaan op je tafel.

![](https://3165340468-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2m3mG7GVDqnZvRnNvK%2F-M2mx5FemWJ1FAWr-7Tw%2F-M2mx7-y6oYE38NayyLy%2FlogoCSCert_10cm.jpg?generation=1584624076962009\&alt=media)
