A python script to find out our public IP address.
MAke sure that python3 is installed.
Clone the repository
git clone https://github.com/sreehariskumar/public_ip.git
Navigate to the directory
cd public_ip
Run the following command:
python3 public_ip.py
https://www.whatismypublicip.com/
You can cross verify the results