Skip to content

Commit

Permalink
Day2 code
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Dec 9, 2022
1 parent b50e9f3 commit b4b0500
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 5 additions & 2 deletions day2/review_exercises/review_ex1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ Review Exercise1

Process the 'show_ip_int_brief.txt' file and create a data structure from it.

Process the 'show_ip_int_brief.txt' file and create a data structure from it.

1. Create a dictionary where the keys are the interface names

2. The corresponding values should be the line “Protocol” field.

3. Use rich.print to print out your data structure.

4. Using the Python debugger set a breakpoint in your code and inspect the two
dictionaries before they are printed to the screen. Use step over to step a
few lines through the code. Add a second breakpoint and use continue to run
until this second breakpoint is encountered.
2 changes: 2 additions & 0 deletions src/test_code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
def my_func():
print("Hello")

0 comments on commit b4b0500

Please sign in to comment.