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