> Source URL: /ai-and-sports/weeks/week-3.module
# Week 3: Who's Heating Up? Season Trend Tracker

---

## Overview

In this week, you will build a trend tracker that scans recent games and finds hot streaks.

---

## New Skills

- Store data in `list`s
- Use `for` loops to scan game logs
- Use conditions (`if/else`) to make decisions
- Track streaks with counters
- Load and analyze CSV data

---

A `list` is a way to store multiple values in one variable. It’s like a container that keeps items in order—perfect for saving stats from several games.

Example:

```python
recent_stats = [18, 22, 30, 15, 28]
```

---

A `loop` is a way to repeat code. In this project, a `for` loop lets you go through your list one item at a time and run the same code for each stat.

```python
recent_stats = [18, 22, 30]

for stat in recent_stats:
    print(stat)
```

---

A **condition** is a true/false check. An `if` statement uses a condition to decide what to do.

```python
stat = 30
hot_threshold = 25

if stat >= hot_threshold:
    print("Hot game!")
else:
    print("Not a hot game.")
```

---

A CSV file is a simple spreadsheet-style text file where values are separated by commas. Each line is usually one row of data.

```text
date,stat
2025-01-03,18
2025-01-05,22
```

---

## Setup and Resources

---

## Discord

Make sure you have joined the course Discord so we can send you update and links.

[>button: 💬 Join the Course Discord](https://discord.com/channels/1446963501040926802/1447338288859054121)

---

## Project

[>button: Start Your Project!](../projects/3-season-trend-tracker/season-trend-tracker.project.md)


---

## Backlinks

The following sources link to this document:

- [Who's Heating Up? Season Trend Tracker](/ai-and-sports/index.path.llm.md)
