Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os
- max = 0
- count = 0
- nach = 0
- a = input()
- for i in range(a):
- if a[i] == " ":
- count += 1
- elif a[i] == ".":
- if count > max:
- max = count
- nach = i
- тут вывод придумай
- os.system("pause")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement