break a input by space in python 3 code example Example: take space separated int input in python inp = list(map(int,input().split()))