Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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

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.
 
PREVIOUS NEXT
Tagged: #inputs #singal #line #seprated #space
ADD COMMENT
Topic
Name
6+9 =