K1ngkai

Untitled

Apr 2nd, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. def main():
  2. infile = open('scores.txt','r')
  3. names = infile.read()
  4. infile.close()
  5.  
  6.  
  7. new = [int(m) for m in names if m.isdigit()]
  8. print(new)
  9.  
  10.  
  11. main()
  12.  
  13.  
Advertisement
Add Comment
Please, Sign In to add comment