0
Taking input of two integers in a single line separated by space
Hello! Please help me with the below problem in python. I can write the code using two input statements. But the problem requires that the first line of code contains two numbers separated by spaces. Thanks Input Format: The first line of the input contains two numbers separated by a space. Output Format: Print the difference in single line Example: Input: 4 2 Output: 2 Explanation: Since the difference of numbers 4 and 2 is 2, hence the output is 2. code- https://code.sololearn.com/cv7d5HHPOMCg/?ref=app
3 odpowiedzi
+ 1
See what I wrote in your other post.
Give it a try and show us the result!
+ 1
I have uploaded the code.