sanderl

rosalind 5

Feb 15th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. x = 0
  2. f = open('input.txt', 'r')
  3. output = open("output.txt", 'w')
  4.  
  5. for line in f:
  6.     if x % 2 == 1:
  7.         output.write(line)
  8.  
  9.     x += 1
  10.  
  11. print("ready?")
Advertisement
Add Comment
Please, Sign In to add comment