Question: You are to create a program that opens this dogs.txt file, reads the file into the program, searches it for the highest ranking breed and
You are to create a program that opens this dogs.txt
file, reads the file into the program, searches it for the highest ranking breed and displays that. Remember the highest rank is the lowest number.
For extra fun work can you sort and display the breeds in order of their ranking? You can? Great, I can't wait to see it.
# Create a program with comments
# The contents of dogs.txt is that
Boxers 7 Beagles 4 Bulldogs 5 Rottweilers 9 Poodles 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
