Press ESC to close

how to write a simple ai program in python