csc-python-solutions/07/c/4 - Skipping.py
2021-02-18 19:07:20 +01:00

10 lines
167 B
Python

counter = 0
while True:
lineIn = input()
if lineIn=='SKIP':
continue
if lineIn=='END':
break
counter = counter+1
print('line', counter, '=', lineIn)