how can i get 2 inputs in singal line seprated by space

Solutions on MaxInterview for how can i get 2 inputs in singal line seprated by space by the best coders in the world

showing results for - "how can i get 2 inputs in singal line seprated by space"
Maia
07 Feb 2016
1x, y = input().split()
2Note that we don’t have to explicitly specify split(‘ ‘)
3because split() uses any whitespace characters as a delimiter as default.