Almost all programming languages work the same way. You write code to tell it what to do print("Hello, world"). The code is compiled, which turns it into machine code the computer can understand. The computer executes the code, and writes Hello, world back to us.