Skip to content

Commit 6a3b4ec

Browse files
committed
fix numbers
1 parent 7d8692e commit 6a3b4ec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

foundations/getting-started-python/basic-python.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,23 +72,23 @@ On Windows, open **Anaconda Prompt**. On a Mac or Linux machine, simply open **T
7272
$ cd ..
7373
```
7474

75-
9. And now that you've set up our workspace, open a Jupyter notebook.
75+
9. And now that you've set up our workspace, open a Jupyter notebook called `mysci.ipynb`.
7676

7777
```
7878
jupyter lab
7979
```
8080

81-
10. In the Jupyter session, create a blank Python script, called `mysci.ipynb`, you can do this from the "File" drop-down menu.
81+
Then, in the Jupyter session, create a blank notebook from the "File" drop-down menu.
8282

83-
11. In a code cell enter and execute the classic first command - printing, "Hello, world!".
83+
10. In a code cell enter and execute the classic first command - printing, "Hello, world!".
8484

8585
```python
8686
print("Hello, world!")
8787
```
8888

8989
You'll see that the cell output is executed right below each cell.
9090

91-
12. In a new cell, let's read the first 4 lines from our datafile.
91+
11. In a new cell, let's read the first 4 lines from our datafile.
9292

9393
```python
9494
# Read the data file
@@ -116,7 +116,7 @@ You'll see that the cell output is executed right below each cell.
116116

117117
Comments in Python are indicated with a hash, as you can see in the first line `# Read the data file`. Comments are ignored by the interpreter.
118118

119-
13. In a new cell, read your whole data file:
119+
12. In a new cell, read your whole data file:
120120

121121
```python
122122
# Read the data file
@@ -136,7 +136,7 @@ You'll see that the cell output is executed right below each cell.
136136

137137
Try `print('data')` as well. Now Python will print the string `data`, as it did for the hello world function, instead of the information stored in the variable data.
138138

139-
14. Let's read your whole data file using a context manager `with`, in a new cell:
139+
13. Let's read your whole data file using a context manager `with`, in a new cell:
140140

141141
```python
142142
# Read the data file
@@ -154,7 +154,7 @@ You'll see that the cell output is executed right below each cell.
154154

155155
Combined these two lines mean: with the datafile opened, I'd like to read it.
156156

157-
15. What did we just see? What is the data object? What type is data? How do we find out?
157+
14. What did we just see? What is the data object? What type is data? How do we find out?
158158

159159
In a new cell print the type of our data:
160160

0 commit comments

Comments
 (0)