On Fri, Jan 7, 2011 at 9:18 PM, Garland Fulton <stacks...@gmail.com> wrote: > I don't understand what I'm doing wrong i've tried several different cases > for what i am doing here. Will someone please point my error out. > Thank you. > > 1 #!/bin/bash/python
This shebang undoubtedly erroneous. > 5 if( 0 > x | x > 2147483647): One normally writes that using boolean "or" rather than the bitwise operator. Also, the parentheses are completely unnecessary visual clutter. > 15 print("counter: ", counter Where's the closing parenthesis? > 17 while (end == 0): # > <-------------------returns syntax error on this while statement Always include the exact error message + traceback in the future. Cheers, Chris -- http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list