map(int,x.split()) code example Example: python map input list_of_inputs=list(map(int,input().split()))