how to take multiple inputs in python using list comprehension code example Example: take two numbers as inout in single line in python x, y = map(int, input().split())