Skip to content

Commit 6784beb

Browse files
committed
remove numbers from titles and fix other stuff
1 parent 3cdddfd commit 6784beb

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

if.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 4. Using if, elif, else and while
1+
# Using if, elif, else and while
22

33
## Using if statements
44

using-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 3. Using functions and storing code in files
1+
# Using functions and storing code in files
22

33
## Functions
44

variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2. Variables, Booleans and None
1+
# Variables, Booleans and None
22

33
## Variables
44

@@ -54,9 +54,9 @@ We'll learn to use most of them later in this tutorial. Trying to use a
5454
keyword as a variable name causes a syntax error:
5555

5656
```py
57-
>>> if = 'hello'
57+
>>> if = 123
5858
File "<stdin>", line 1
59-
if = 'hello'
59+
if = 123
6060
^
6161
SyntaxError: invalid syntax
6262
>>>
@@ -76,8 +76,8 @@ back to the same variable on the left side:
7676
```
7777

7878
To do something to a variable (for example, to add something to it) we
79-
can use `+=`, `-=`, `*=` and `/=` instead of `+`, `-`, `*` and `/`. The
80-
"advanced" `%=`, `//=` and `**=` also work.
79+
can also use `+=`, `-=`, `*=` and `/=` instead of `+`, `-`, `*` and
80+
`/`. The "advanced" `%=`, `//=` and `**=` also work.
8181

8282
```py
8383
>>> a += 2 # a = a + 2

0 commit comments

Comments
 (0)