#! /usr/bin/python from random import random import time adjectives = ['cool','awesome','amazing'] adjective = adjectives[int(random()*3)] hd = """ Mr DW is """+adjective+""" """ end = """ """ print('Content-type: text/html\n') def timefind(): tm = time.time() hr = int((tm//3600)%24)-4 mn = int((tm//60)%60) sc = int((tm//1)%60) return str(hr)+':'+str(mn)+':'+str(sc) def timefindeng(): tm = time.time() hr = int((tm//3600)%24) mn = int((tm//60)%60) sc = int((tm//1)%60) return str(hr)+':'+str(mn)+':'+str(sc) bdy = """

not a website

Hello there! Its """+timefind()+""" in New York right now and """+timefindeng()+""" in Greenwich, England!

""" print(hd+bdy+end)