[Exam style] Python is an interpreted language. Explain what this means and how interpreted languages differ from compiled languages.

An interpreted language uses a program called an interpreter to translate code written in the source language to a target language that the computer can understand and execute. Interpreters translate code line-by-line as they execute the commands, whereas compilers use a program called a compiler to translate the entire program to the target language before any computation of the source program occurs.

JR

Related Python Mentoring answers

All answers ▸

How would you get a piece of code to print the numbers 1 to 10


Create an algorithm that can be used as a guessing game. Make sure to import random at the start.


Why are negative indexes used?


Write a short program to print all the even numbers 1 to 100