Skip to content

Commit

Permalink
updating class8 valid_ip docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Jul 9, 2015
1 parent 61f713d commit 6ba6321
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions learnpy_ecourse/class8/ex1_valid_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
validation function.
A. Modify this Python module such that you add a set of tests
into the module. Use the __name__ == '__main__' technique to
separate the test code from the function definition. In your test
code, check the validity of each of the following IP addresses
(False means it is an invalid IP address; True means it is a valid
IP address).
into the module. Use the __name__ == '__main__' technique to
separate the test code from the function definition. In your test
code, verify your IP address validation function against each of
the following IP addresses (False means it is an invalid IP
address; True means it is a valid IP address).
test_ip_addresses = {
'192.168.1' : False,
Expand Down

0 comments on commit 6ba6321

Please sign in to comment.