Python

Learn Python programming from scratch

144 tutorials
12 of 144 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

Python Variables Explained

Understand what Python variables are, how they store and reference data, and why Python's variable model is different from other programming languages.

PythonVariablesBeginner
Jul 6, 2026· 5 min read

Create and Assign Variables in Python

Learn every way to create and assign variables in Python, from basic single assignment to expressions, type hints, and practical patterns beginners use every day.

BeginnerVariablesPython