To create a new file, we useopen() and place the file name as a string between the parentheses (()).

Let's create a new Python file named code.py.

Nice! open("code.py") created a new file named code.py in the current directory.

Create a file by starting with open(, placing the file name in between, and ending with ).