Skip to content

Commit bdf156d

Browse files
DamianHerfkensAkuli
authored andcommitted
Changes a few things in some files, to fit better or to correct grammar.
1 parent 2d1b2f1 commit bdf156d

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

.vs/ProjectSettings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"CurrentProjectSetting": null
3+
}

.vs/slnx.sqlite

88 KB
Binary file not shown.

basics/editor-setup.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Setting up an editor for programming
22

33
An editor is a program that lets us write longer programs than we can
4-
write on the `>>>` prompt. Then we can save the programs to files and
4+
write on the `>>>` prompt. With an editor we can save the programs to files and
55
run them as many times as we want without writing them again.
66

77
When programmers say "editor" they don't mean programs like Microsoft
88
Word or LibreOffice/OpenOffice Writer. These programs are for writing
99
text documents, not for programming. **Programming editors don't support
1010
things like bigger font sizes for titles or underlining bits of text**,
1111
but instead they have features that are actually useful for programming,
12-
like automatically displaying different things with different colors.
12+
like automatically displaying different things with different colors,
13+
but also highlighting mistakes in the code, and coloring syntax.
1314

1415
If you are on Windows or Mac OSX you have probably noticed that your
1516
Python came with an editor called IDLE. We are not going to use it

basics/getting-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ worked just fine. Later we'll learn what `(3, 14)` is.
6262

6363
## Comments
6464

65-
**Comments are text that does nothing.** They can be created by typing a
66-
`#` and then some text after it, and they are useful when our code would
67-
be hard to understand without them.
65+
**Comments are text that don't do anything when they're run.**
66+
They can be created by typing a `#` and then some text after it,
67+
and they are useful when our code would be hard to understand without them.
6868

6969
```python
7070
>>> 1 + 2 # can you guess what the result is?

basics/variables.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ Variable names are case-sensitive, like many other things in Python.
8686
```
8787

8888
There are also words that cannot be used as variable names
89-
because they have a special meaning. They are called **keywords**, and
90-
we can run `help('keywords')` to see the full list if we want to.
89+
because they are reserved by Python itself and have a special meaning.
90+
They are called **keywords**, and we can run `help('keywords')`
91+
to see the full list if we want to.
9192
We'll learn to use most of them later in this tutorial. Trying to use a
9293
keyword as a variable name causes a syntax error.
9394

0 commit comments

Comments
 (0)