csc-python-solutions/07/c/4 - Skipping.py

10 lines
167 B
Python
Raw Normal View History

2021-02-18 18:07:20 +00:00
counter = 0
while True:
lineIn = input()
if lineIn=='SKIP':
continue
if lineIn=='END':
break
counter = counter+1
print('line', counter, '=', lineIn)