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