Question : how can i get 2 inputs in singal line seprated by space
Answered by : distinct-dove-r973s5o7py9f
x, y = input().split()
Note that we don’t have to explicitly specify split(‘ ‘)
because split() uses any whitespace characters as a delimiter as default.
Source : | Last Update : Thu, 15 Apr 21