Write a Python program to input two integers on a single line.

Write a Python program to input two integers on a single line.

1
2
3
print("Input the value of x & y")
x, y = map(int, input().split())
print("The value of x & y are: ",x,y)

Final output

Leave a Comment