Ping a Website/IP Address in Python

Created at using the Python Code Generator tool.