Commit 95b11dbd by BellCodeEditor

auto save

parent 61eff6a1
Showing with 7 additions and 0 deletions
n=int(input())
m=list(int,(input().split(',')))
sum=0
for i in range(0,len(m)-1):
for j in range(i+1 len(m)):
if m[i]+m[j]==n:
print(str(m[i])+'+'+str(m[j]))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment