input line with space python code example Example: python space separated input l = list(map(int,input().split())