Python is a high-level programming language known for its simple and readable syntax. It has the following features:
- Allows writing clean code with fewer lines.
- Supports multiple programming paradigms including object-oriented, functional and procedural programming.
- Widely used in web development, automation, data analysis, artificial intelligence and many other fields.
- Dynamically typed and has automatic garbage collection
Hello World Program
The Hello World program demonstrates the basic structure of a Python program.
# This is a comment. It will not be executed.
print("Hello, World!")
Output
Hello, World!
How does this work:

- print() is a built-in Python function that instructs the computer to display text on the screen.
- "Hello, World!" is a string enclosed within quotes (either single ' or double ").
- Python uses indentation (spaces or tabs) to define code blocks instead of braces {} in C, C++ and Java .
- # is used to write comments in Python. Comments are ignored during execution.