Python Loop Some Coding Question For Interview