> ## Documentation Index
> Fetch the complete documentation index at: https://python-training.ipoint-labs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Module 2: Literals and variables

> Represent numbers, text, and truth values as literals, then name and reuse them with variables that follow PEP 8.

| | |
| - | - |
| **Exam** | PCEP-30-03 |
| **Section** | 1. Computer Programming and Python Fundamentals (17% of the exam) |
| **Objectives** | 1.3.1 and 1.3.2 |
| **Exam questions** | About 2, one per objective |

By the end of this module you can do everything below. The objectives and their wording come from the [official PCEP-30-03 syllabus](https://pythoninstitute.org/pcep-exam-syllabus).

## 1.3.1 Represent data using Python literals

* Recognize the basic Python data types represented by literals, including `int`, `float`, `str`, and `bool`.
* Use Boolean literals to represent logical values.
* Use integer and floating-point literals to represent numeric values.
* Explain limitations in the accuracy and representation of floating-point numbers.
* Construct string literals using appropriate quotation marks.

## 1.3.2 Create and manage variables according to Python naming conventions

* Create variables and assign values.
* Explain how variables reference values during program execution.
* Select valid and meaningful variable names.
* Distinguish between valid and invalid Python identifiers.
* Apply relevant PEP 8 recommendations to variable names and assignment statements.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.