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