Guest User

Untitled

a guest
Jan 20th, 2020
71
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def split(b):
  2. a = []
  3. for i in b:
  4. try:
  5. num = int(i)
  6. a.append(num)
  7. except ValueError:
  8. continue
  9. return []
  10. def main():
  11. b = input('Input: ')
  12. print(a)
  13.  
  14. if __name__ == '__main__':
  15. main()
RAW Paste Data