Skip to content

Instantly share code, notes, and snippets.

@masaru-ryumae
Created June 15, 2017 14:47
Show Gist options
  • Save masaru-ryumae/9e0dd679584b4e1fef3c6a5405f55c0d to your computer and use it in GitHub Desktop.
Save masaru-ryumae/9e0dd679584b4e1fef3c6a5405f55c0d to your computer and use it in GitHub Desktop.
How to create an array from inputs with map
n = int(raw_input().strip())
arr = map(int,raw_input().strip().split(' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment