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