Python

Introduction

Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

print("Hello World")

Explanation

  • print() is a built-in Python function used to display information on the screen.
  • "Hello World" is a string because it is written inside quotation marks.
Interactive Sandbox
Python