Moody's interview question

python scripts to enter random data