python script for automation interview questions