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