- ...but don't forget to remove the debug output...

This commit is contained in:
ccremers 2004-10-14 20:11:19 +00:00
parent 02e1ccb186
commit 19d7b42b14

View File

@ -23,12 +23,9 @@ import string
# Retrieve the tuple width
tuplesize = int(sys.argv[1])
print tuplesize
# Read stdin into list and count
list = []
loop = 1
while loop:
line = sys.stdin.readline()
@ -42,9 +39,6 @@ while loop:
# end of the input
loop = 0
print list
print len(list)
def tupleUnit (x):
print x + "\t",
@ -62,4 +56,6 @@ def tuplesPrint (l, n, r):
# Option 2: exclude first
tuplesPrint (l[1:], n, r)
# Generate tuples...
tuplesPrint (list, tuplesize, [])
# Thanks for your attention