Answer to Question #312017 in Python for Navya

Question #312017

Sum of 2 numbers


1
Expert's answer
2022-03-15T16:47:42-0400
s = (str(input("Enter two numbers separated by SPACE: "))).split(" ")
Sum=0
for r in range(0,len(s)):
    Sum = Sum + int(s[r])
print("Sum = ",Sum)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS