Skip to content

Commit

Permalink
add reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
khuyentran1401 committed May 8, 2021
1 parent 81b11c4 commit a75dfe1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion terminal/reload_examples/entr_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ def get_evens(nums: list):
return [num for num in nums if num % 2 == 0]

def test_get_evens():
assert get_evens([1, 3, 4, 6, 8, 9]) == [4, 6, 8]
assert get_evens([1, 3, 4, 6, 8, 9]) == [4, 6, 8]

"""On your terminal
ls entr_examples.py | entr python entr_examples.py
"""

0 comments on commit a75dfe1

Please sign in to comment.