how to take space separated input in python till 5 code example Example: python space separated input l = list(map(int,input().split())