# Introduction to lists in Python

You'll often work with multiple values in a program. In Python, you can group data together by using lists. In this module, you'll learn how to use lists and what the most common tasks with lists are.

## Learning objectives

By the end of this module, you'll be able to:

* Identify when to use a list.
* Create a list with string values and number values
* Access a particular item in a list by using indexes.
* Push items to the end of a list.
* Sort and slice a list

## Prerequisites

* Basic Python programming knowledge, which includes use of variables, strings, integers and math.
* Experience modifying and running code in Jupyter Notebooks

## This module is part of these learning paths

* [Introduction](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/1-introduction)1 min
* [Introducing lists](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/2-create-use-lists)5 min
* [Exercise - Create and use Python lists](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/3-exercise-create-use-lists)8 min
* [Work with numbers in lists](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/4-numeric-lists)4 min
* [Manipulate list data](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/5-slice-lists)5 min
* [Exercise - Work with list data](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/6-exercise-slice-lists)8 min
* [Knowledge check](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/7-knowledge-check)2 min
* [Summary](https://learn.microsoft.com/en-us/training/modules/intro-python-lists/8-summary)1 min


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.pqtkha.com/programming/technology/python/microsoft-training-python-for-beginners/module-5-introduction-to-lists-in-python/introduction-to-lists-in-python.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
