# 6. Procedures again

We have already created procedures. Now to create procedures that we can pass data to.

## 6.1. Big Question

- How can I pass data to a procedure?

## 6.2. Key words

- Procedures
- Parameters

## 6.3. Introduction

So far we have procedures like `draw_square()`. However we have seen procedures such as `turtle.forward(100)`, so how do we make it so that we can pass data in such as the `100` above. Read on to find out.

## 6.4. Procedures 1

Let us look at some code from before

import turtle def draw_triangle(): for i in range (3): turtle.forward(50) turtle.left(120) draw_triangle()

Now let us improve it.

import turtle def draw_triangle(size): for i in range (3): turtle.forward(size) turtle.left(120) draw_triangle()

«Someone should write this.»

Next Section - 7. Writing your own programs using IDLE