Skip to main content

Unit 1 · What is Python?! · Lesson 3 of 57

Is it magic?

Is it magic?

Now at this point you may be wondering how the hell your terminal just printed "Hello World!"

The answer is magic! Yes, wizardry is real, and Python uses it! 🧙

No, but seriously, it's just how your computer works.

Your computer speaks a different language

See, your computer can only talk in a foreign language. We call this machine code, but the name isn't the important part. All you need to understand is that humans can't really read it or write in it.

So instead, we write in human-friendly languages, like Python.

Enter the interpreter

When we run a Python file, the Python interpreter translates our human-readable text into something the computer can understand in real time, then has the computer carry out our instructions.

This way, we can write what we want done with convenience, and the computer can actually do it.

⚠️ Don't get it twisted: Python isn't just regular English. It has its own rules and ways of writing that you'll need to learn!

Do this lesson for real

With a free account you get the terminals, challenges and checks that go with the lessons in Intro to Python, and your progress is saved as you go. CyberAcad is a 501(c)(3) nonprofit, so there is nothing to pay.