Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via {sandpaper}
Source  : fee164f
Branch  : main
Author  : Allen Lee <[email protected]>
Time    : 2024-02-16 22:53:50 +0000
Message : Merge pull request #671 from sborrego/patch-2

fix conditional logic ordering
  • Loading branch information
actions-user committed Feb 16, 2024
1 parent 6842752 commit cf0c3f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions 13-conditionals.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,16 @@ for m in masses:

```python
grade = 85
if grade >= 70:
print('grade is C')
if grade >= 90:
print('grade is A')
elif grade >= 80:
print('grade is B')
elif grade >= 90:
print('grade is A')
elif grade >= 70:
print('grade is C')
```

```output
grade is C
grade is B
```

- Does *not* automatically go back and re-evaluate if values change.
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"episodes/10-lunch.md" "0624bfa89e628df443070e8c44271b33" "site/built/10-lunch.md" "2023-05-02"
"episodes/11-lists.md" "1257daeb542377a3b04c6bec0d0ffee1" "site/built/11-lists.md" "2023-07-24"
"episodes/12-for-loops.md" "1da6e4e57a25f8d4fd64802c2eb682c4" "site/built/12-for-loops.md" "2023-05-02"
"episodes/13-conditionals.md" "fe461994d104541f60dc8e37822b487c" "site/built/13-conditionals.md" "2023-05-02"
"episodes/13-conditionals.md" "2739086f688f386c32ce56400c6b27e2" "site/built/13-conditionals.md" "2024-02-16"
"episodes/14-looping-data-sets.md" "e04f11544d1e5f3ca08ddcf22230a3a3" "site/built/14-looping-data-sets.md" "2023-05-02"
"episodes/15-coffee.md" "062bae79eb17ee57f183b21658a8d813" "site/built/15-coffee.md" "2023-05-02"
"episodes/16-writing-functions.md" "0f162f45b0072659b0113baf01ade027" "site/built/16-writing-functions.md" "2023-07-24"
Expand Down

0 comments on commit cf0c3f3

Please sign in to comment.