From kodeboard, 4 Years ago, written in Python.
Embed
  1. import sys
  2. data = sys.stdin.readlines()
  3. print "Linecount:", len(data)
  4.  

You must login to reply or comment on this code.