take 2 inputs from a line code example Example: take two numbers as inout in single line in python x, y = map(int, input().split())