Netanalytics Interview Question

How to ping a website using python