i = 1 while i < 6: print(i) i = i + 1 print("----------------") i = 1 while i < 6: temp = i*100 + 1 print(temp) i = i + 1 print("----------------") i = 1 while i < 6: print(i) if i == 3: break #stops loop, bad practice i += 1 print("----------------") i = 0 while i < 6: i += 1 if i == 3: continue #stops current iteration, bad practice print(i) print("----------------") #Yes or No ? count = 0 # The current count entry = 'Y' # Count to begin with while entry != 'N' : print(count) entry = input('Please enter "Y" to continue or "N" to quit: ') entry = entry.upper() #convert to upper case if entry == 'Y' : count += 1 elif entry != 'N' : print('"' + entry + '" is not a valid choice') #end while print ('Done');