> 15 print("counter: ", counter > 16 > 17 while (end == 0): # > <-------------------returns syntax error on this while statement Among other responses, there is no indent after print. should be print() while x: #now indent -- Terry Jan Reedy