Python

Learn Python programming from scratch

344 tutorials
12 of 344 tutorials
Jul 4, 2026· 5 min read

Printing Output in Python

Learn how to use Python's print() function to display messages, format output, and control how text appears on screen.

PythonBeginnerPython Basics
Jul 4, 2026· 5 min read

Getting User Input in Python

Learn how to use Python's input() function to collect information from the user and build interactive programs.

Python BasicsBeginnerPython
Jul 4, 2026· 5 min read

Python Keywords Explained

Learn what Python keywords are, which words are reserved, and why you cannot use them as variable or function names.

Python BasicsPythonBeginner
Jul 4, 2026· 5 min read

Python Statements and Expressions

Understand the difference between statements and expressions in Python and why the distinction matters for writing correct code.

Python BasicsPythonBeginner
Jul 4, 2026· 5 min read

Python Identifiers and Naming Rules

Learn the rules for naming variables, functions, and classes in Python, plus the style conventions that make code readable.

Python BasicsPythonBeginner
Jul 4, 2026· 5 min read

Python Code Blocks Explained

Learn how Python groups statements into code blocks using indentation, how blocks nest, and the rules that govern block structure.

PythonPython BasicsBeginner
Jul 4, 2026· 5 min read

Python Source Files and Scripts

Learn what Python source files are, how .py files work, and the difference between running a script and importing a module.

PythonBeginnerPython Basics
Jul 4, 2026· 5 min read

Reading Python Error Messages

Learn how to read and understand Python error messages, tracebacks, and exception types so you can fix problems quickly.

PythonPython BasicsBeginner
Jul 4, 2026· 5 min read

Python Built-in Functions for Beginners

Discover the most useful Python built-in functions that every beginner should know, from print and input to len and type.

BeginnerPythonPython Basics
Jul 4, 2026· 5 min read

Build Your First Python Console Program

Combine everything you have learned so far and build a complete interactive Python console program from start to finish.

Python BasicsPythonBeginner
Jul 6, 2026· 5 min read

Immutable and Mutable Data Types in Python

Learn the critical difference between immutable and mutable types in Python, which types belong to each category, and how mutability affects your code.

BeginnerPythonData Types
Jul 6, 2026· 5 min read

Check Data Types with Python type()

Learn how to check the type of any Python value using the type() built-in function, the isinstance() function for flexible checks, and when to use each approach.

Data TypesBeginnerPython