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
2 changes: 1 addition & 1 deletion exercises/09-Creating-Your-First-Function/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_use_my_var1():
my_return = [s for s in content if "return" in s]
my_returnIndex = content.index(my_return[0])
# print(my_print_index)
regex = r"return a(\s*)\+(\s*)b"
regex = r"return(\s*)(\W*)a(\s*)\+(\s*)b(\s*)(\W*)"
assert re.match(regex, content[my_returnIndex])

# assert re.match(regex, content)
Expand Down
2 changes: 1 addition & 1 deletion exercises/17-While-Loop/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
def start_counting():
counter = 100
while counter <= 100:
while counter > -1:
print(counter)
counter-=1
return counter
Expand Down