Skip to content

Commit

Permalink
Merge branch 'master' of github.com:hanze-hbo-ict/programmeren
Browse files Browse the repository at this point in the history
  • Loading branch information
misja committed Sep 25, 2023
2 parents af68a9a + 8536908 commit dbccee2
Show file tree
Hide file tree
Showing 10 changed files with 119 additions and 121 deletions.
10 changes: 5 additions & 5 deletions practicals/2a_var_con.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ a.
x = 42
if x > 5 and x < 10:
x = x * 2
elif x < 20 :
elif x < 20:
x = x / 2
print(x)
```
Expand All @@ -417,7 +417,7 @@ b.
x = 2
if x < 5:
x = x * 2
elif x < 10
elif x < 10:
x = x / 2
print(x)
```
Expand All @@ -428,7 +428,7 @@ c.
x = 6
if x < 10:
x = x * 2
if x < 20
if x < 20:
x = x / 2
print(x)
```
Expand All @@ -441,7 +441,7 @@ if x > 5 and x < 10:
x = x * 2
elif x < 5 or x > 10:
x = x / 2
else
else:
x = x + 2
print(x)
```
Expand All @@ -454,7 +454,7 @@ if x > 5 and x < 10:
x = x * 2
elif x < 5 or x > 10:
x = x / 2
else
else:
x = x + 2
print(x)
```
Expand Down
Loading

0 comments on commit dbccee2

Please sign in to comment.