[ Web Proxy ]
URL:
Viewing: https://www.geeksforgeeks.org/python/introduction-to-python/ [Back]  [Original]

Python Introduction - GeeksforGeeks
  • Courses
  • Tutorials
  • Interview Prep

Python Introduction

Last Updated : 19 Sep, 2026

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.

Python
# This is a comment. It will not be executed.
print("Hello, World!") 

Output
Hello, World!

How does this work:

hello_world [hello_world]Hello World Program
  • 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 Python Comments. Comments are ignored during execution.
Comment

Web Proxy Viewer  |  New URL  |  Original Page