I was trying to make a code that allows multiple user inputs in different variables in only one line in Python. I've studied a bit of list comprehension, but I can't understand how the code below works.
a,b,c = [int(a) for a in input().split()]
Why is the output an integer value of a, b, and c if only a is being put into the loop?