Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import sys
- for line in sys.stdin:
- row = line
- n = row[6:11]
- n = n.strip()
- z = row[11:15]
- z = z.strip()
- num = row[53:64]
- num = num.strip()
- if z == '16':
- if "#" in num:
- num = num.replace("#", '')
- value = z + '\t' + str(float(num)*(int(z) + int(n)))
- print('{0}\t{1}'.format(n, value) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement