Advertisement
MatveyL

cock clov

Mar 4th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. a = input()
  2. t = 1
  3. for i in range(len(a)-1):
  4. if a[i] == " " and a[i+1] != " " :
  5. t += 1
  6.  
  7. print(t)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement