This code takes the IP address that the user inputs and determines whether the IP is the router or a lease.
- Go to https://www.python.org/downloads/ and download latest version for your OS.
- Save file.
- Open installer and complete setup.
sudo apt-get update
sudo apt-get install python3.9
Once installed you can run the program with the following command
python my_last_python_assignment.py
Zak Rubin for providing examples and giving feedback