Intenseye interview question

How do you write a python automation script