Code a DHCP Listener with Socket in Python

Prompt

Result