diff --git a/getting_started/00_overview.ipynb b/getting_started/00_overview.ipynb index c97481e4d719b023b478e0a1adb3392b7257bf79..af3bb246c5a767ffc74bb993c088ffdbc41fdc7d 100644 --- a/getting_started/00_overview.ipynb +++ b/getting_started/00_overview.ipynb @@ -927,8 +927,8 @@ "* `<mode>` is one of `'r'` (for read-only access), `'w'` (for writing a file,\n", " this wipes out any existing content), `'a'` (for appending to an existing\n", " file).\n", - "* `<file_object>` is a variable name which will be used within the `<block of\n", - " code>` to access the opened file.\n", + "* `<file_object>` is a variable name which will be used within the\n", + " `<block of code>` to access the opened file.\n", "\n", "\n", "For example the following will read all the text in `00_overview/file.txt` and\n", @@ -1134,7 +1134,7 @@ "outputs": [], "source": [ "def changelist(l):\n", - " l[0] = 'mwahahaha!'\n", + " l[0] = 'mwahahaha!'\n", "\n", "mylist = [1,2,3,4,5]\n", "\n", diff --git a/getting_started/00_overview.md b/getting_started/00_overview.md index dabb7cdfc36c35a2a7f727fd4b50b0368116c4ba..8cb418151d878dbf30919488151f71a928016305 100644 --- a/getting_started/00_overview.md +++ b/getting_started/00_overview.md @@ -663,8 +663,8 @@ The syntax to open a file in python is * `<mode>` is one of `'r'` (for read-only access), `'w'` (for writing a file, this wipes out any existing content), `'a'` (for appending to an existing file). -* `<file_object>` is a variable name which will be used within the `<block of - code>` to access the opened file. +* `<file_object>` is a variable name which will be used within the + `<block of code>` to access the opened file. For example the following will read all the text in `00_overview/file.txt` and @@ -809,7 +809,7 @@ might change it! ``` def changelist(l): - l[0] = 'mwahahaha!' + l[0] = 'mwahahaha!' mylist = [1,2,3,4,5]