Is there any way to take 2 user input with a space between them and convert the first input to key and the second input to the corresponding value to that key? I know this can be done with lists like this.
ls = list(map(int, input("").split(" ")))
Is there anyway to take inputs from the user and instead of converting them to a list, convert them to a dictionary?