Bash Scripting For Loops In Python Programming