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