Thursday, October 29, 2015

while loop exit

while(True):
  r=raw_input()
  if r=='n':
    print "Exiting"
    break
  else :
    print "not time to break"

No comments:

Post a Comment