Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stringN = ''
- count = int(0)
- z = -1
- print('Вводите строки, остановка словом СТОП ')
- while stringN != 'СТОП':
- count += 1
- stringN = input()
- if 'кот' in stringN or 'Кот' in stringN:
- z = count
- print(str(z))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement