---
id: bfab38e6a6c1165f7774514d
title: Writing to Files
challengeType: 11
videoId: QR95sRxsehY
dashedName: writing-to-files
---

# --description--

In this video, you will learn how to write data to files in Python.

# --questions--

## --text--

What is the role of the `"a"` in the `open()` function?

## --answers--

It specifies the append mode.

---

It specifies the alternate mode.

---

It specifies the access mode.

---

It specifies the apply mode.

## --video-solution--

1
