> For the complete documentation index, see [llms.txt](https://hntech.gitbook.io/blueconda-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hntech.gitbook.io/blueconda-documentation/your-first-project-beginners/testing-your-code.md).

# Testing your Code

"Running" your code doesn't mean its going for a sprint! It means we'll tell our computer to follow the code. You should know that code is just a series of instructions given to a computer. To "run" code, we tell the computer to follow these instructions to see if it does what we expect it to do.

Python is an **interpreted** language. This means each line is performed individually rather than all of it at once, which is what a **compiled** language does. This is why Python tends to be slow to run.

{% hint style="info" %}
Examples of compiled languages include: C, C++, Java, and Swift.
{% endhint %}

How do you run code in Blueconda? You may have noticed there are two run buttons. Lets differentiate these two.

<figure><img src="/files/QxlEZCVlkGbOwHJnrOjs" alt="" width="188"><figcaption><p>Quick Run</p></figcaption></figure>

Quick Run is used for quickly testing small snippets of code without needing to save anything. Use it only if you want to see what some code does and not intend for your code to be a project of some sort! It basically stores its own copy of your code, runs it, and deletes it when you're done.<br>

<figure><img src="/files/cJrMdfmrsoVGEbbCpKPt" alt="" width="188"><figcaption><p>Run</p></figcaption></figure>

This is the Run button. This is used for your actual projects. It requires you to save your code first, however. You can easily do that by using the save button.

<figure><img src="/files/r3Ml8Qsm5MghE4YACt0h" alt="" width="128"><figcaption><p>The Save button</p></figcaption></figure>

<figure><img src="/files/DduYxzp6j6lFjBYE1Mwt" alt="" width="188"><figcaption><p>A save file dialog. Write the name for your file in the "file name" section.</p></figcaption></figure>

Upon clicking the save button, since this will be your first time, you'll need to tell your computer exactly where to store this Python script.

You can use either Quick Run or Run, both will give the same result. Although if your code depends on any other files, then only Run will work (You don't need to worry about this now).

If everything goes well, your code should give you something like this:

```
Enter your age: 19
You are allowed to vote.
Press any key to continue...
```

The "press any key to continue" only appears when you use Quick Run. This is because Quick Run automatically pauses your script to make sure you can see the final output before it closes. Run doesn't let the terminal close, so you can see the output. One way to make sure this terminal pausing happens wherever you run your script outside a code editor is to use an input() statement like this:

```python
# Your code here
input("Press enter to close the program.")
```

{% hint style="info" %}
**Pro Tip:** If your code has a very long or infinite loop (such as a `while True` loop) you can break it while running the code by the shortcut Ctrl + C.
{% endhint %}

Next up, we'll learn how to use Blueconda's templates feature!
