Question: Using python, create a dictionary from a .txt file and use it to assist the user to know the name of a group of a
Using python, create a dictionary from a .txt file and use it to assist the user to know the name of a group of a particular animal.
-
An example format for the .txt file is seen below.

-
The expected output should follow this format.

The text in
- O X 5 C:\Users\mpryo\Box Sync Classes\ME369\collecti.txt - Sublime Text (UNREGISTERED) Eile Edit Selection Find View Goto Tools Project Preferences Help M real goal of demo scifibookfavorites.txt x Heinlein 4 123 . collecti.txt x addre. Group Name Animal Type - - - - Band Bed Bed Bevy Bevy Brace Brood Cast Cete Charm 14 Chattering 15. Cloud Clowder Line 14, Column 25 gorillas clams oysters quail swans ducks chicks hawks badgers goldfinches choughs gnats cats 16 Tab Size: 4 Plain Text - O X What type of animal are you running from?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
