My issue
how to print 3+4 and 2+1 in the same line. I am print(3+4,2+1) but this code seen that wrong answer
My code
print(3 + 4,2 + 1)
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
how to print 3+4 and 2+1 in the same line. I am print(3+4,2+1) but this code seen that wrong answer
print(3 + 4,2 + 1)
Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone
It’s correct there is no mistake in that code, once recheck again. we can also use
print(3+4,end=" ")
print(2+1)
But you can get correct answer with your code itself.