Advertisement
Qellex

Untitled

Apr 23rd, 2021
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. import os
  2. max = 0
  3. count = 0
  4. nach = 0
  5. a = input()
  6. for i in range(a):
  7.     if a[i] == " ":
  8.         count += 1
  9.     elif a[i] == ".":
  10.         if count > max:
  11.             max = count
  12.             nach = i
  13.  
  14. тут вывод придумай
  15.  
  16.  
  17.  
  18.  
  19. os.system("pause")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement