Time for another Python challenge. This time it’s the palindrome challenge. What is a palindrome? A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward. Some examples are level, radar, stats.
DevAsc – Python Divisors Challenge
As part of Nick Russo’s DevAsc study plan, he recommends doing a few Python challenges to check your existing knowledge of Python. One of these is the Divisors challenge. The goal of of this exercise is to take a number,
Python – Kirk Byers Course Week 4 Part 3
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. The final exercise of week 4 is the following. [code lang=”text”] III. Create a program that converts the following uptime strings to
Python – Kirk Byers Course Week 4 Part 2
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. Our next task is to parse data from show version from a device. [code lang=text] II. Parse the below 'show version' data
Python – Kirk Byers Course Week 4 Part 1
This post will describe the exercises and solutions for week four of Kirk Byers Python for Network Engineers. The first exercise is the following: [code lang=text] I. Prompt a user to input an IP address. Re-using some of the code
Python – Kirk Byers Course Week 3 Part 3
This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. The last exercise of the week is to create an IP address checker that checks the validity of an IP address. Here
Python – Kirk Byers Course Week 3 Part 2
This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. Exercise two of week three we already completed in a previous post where we used a For loop to loop through the
Python – Kirk Byers Course Week 3 Part 1
This post will describe the exercises and solutions for week three of Kirk Byers Python for Network Engineers. The first exercise of the week is the following: I. Create an IP address converter (dotted decimal to binary). This will be
Python – Kirk Byers Course Week 2 Part 4
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. The final assignment in week 2 is the following: IV. You have the following string from “show version” on a Cisco router
Python – Kirk Byers Course Week 2 Part 3
This post will describe the exercises and solutions for week two of Kirk Byers Python for Network Engineers. The next excercise is to work with output from “show ip bgp”: III. You have the following four lines from ‘show ip