Create 4 - Skipping.py
This commit is contained in:
parent
14143af154
commit
fc57152e0b
9
07/c/4 - Skipping.py
Normal file
9
07/c/4 - Skipping.py
Normal file
@ -0,0 +1,9 @@
|
||||
counter = 0
|
||||
while True:
|
||||
lineIn = input()
|
||||
if lineIn=='SKIP':
|
||||
continue
|
||||
if lineIn=='END':
|
||||
break
|
||||
counter = counter+1
|
||||
print('line', counter, '=', lineIn)
|
Loading…
Reference in New Issue
Block a user