Sum of 2 numbers
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?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment