Skip to content

Commit 6b41386

Browse files
author
Christopher Harrison
committed
Updated formatting for linting
1 parent 2274e6e commit 6b41386

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

‎8 - Handling conditions/README.md‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Handling conditions
2+
23
Conditional execution can be completed using the [if](https://docs.python.org/3/reference/compound_stmts.html#the-if-statement) statement
34

4-
if syntax
5+
`if` syntax
6+
57
```python
68
if expression:
79
# code to execute
@@ -10,11 +12,10 @@ else:
1012
```
1113

1214
[Comparison operators](https://docs.python.org/3/library/stdtypes.html#comparisons)
13-
- < less than
14-
- < greater than
15-
- == is equal to
16-
- \>= greater than or equal to
17-
- <= less than or equal to
18-
- != not equal to
1915

20-
16+
- < less than
17+
- < greater than
18+
- == is equal to
19+
- \>= greater than or equal to
20+
- <= less than or equal to
21+
- != not equal to

0 commit comments

Comments
 (0)