Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/
6 changes: 4 additions & 2 deletions source/week-1/error-handling/logic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
x = 206
y = 42
x = 45
y = 206
if x < y:
print(str(x) + ' is greater than ' + str(y))
else:
print('all cool')
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

# count will count the number of occurrences of the value specified
# in the string, in this case how many times the letter 'a' appears
print(sentence.count('a'))
print(sentence.count('s'))
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@

pi = 3.1468596846351
print(pi)