how to take n space separated numbers in a list in python code example Example: take space separated int input in python inp = list(map(int,input().split()))