Bash Scripting For Loops In Python Using Range