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

The solution for “how can i get 2 inputs in singal line seprated by space” can be found here. The following code will assist you in solving the problem.

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.

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in