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