Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- import sys
- n = 0
- for line in sys.stdin:
- l = line.split()
- if l[0].isdigit():
- if len(l)>1:
- n = n + 1
- print (n)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement