CGI interview question

Write code for a hands-on python