Skip to content

Instantly share code, notes, and snippets.

@serhii73
Created April 26, 2017 05:15
Show Gist options
  • Save serhii73/db54b7300506d2d549f778ca21ff5c53 to your computer and use it in GitHub Desktop.
Save serhii73/db54b7300506d2d549f778ca21ff5c53 to your computer and use it in GitHub Desktop.
to read the list of numbers python
>>> a = list(map(int, input().split()))
>? 4 -1 4 1 1
>>> a
[4, -1, 4, 1, 1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment