Press ESC to close

how to write an ai program in python