Guest User

Untitled

a guest
Apr 26th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. #! /usr/bin/python
  2.  
  3. inputf = file( "list.txt")
  4.  
  5. ls = []
  6.  
  7. for a in range(0,5):
  8.     getin = inputf.readline()
  9.     if (getin != ""):
  10.         getin.replace('\n', "")
  11.     ls.append(getin)
  12.  
  13. print ls
Add Comment
Please, Sign In to add comment