I want to read an array of integers from single line where size of array is given in python3.
Like read this to list.
5 //size
1 2 3 4 5 //input in one line
while i have tried this
arr = list(map(int, input().split()))
but dont succeed how to give size.
Please help
I am new to python 3