Script to ping in Bash

hi friends,

can someone assist me writing a ping script in bash and python