what is the solution of this by python 3 ?
Given an array of integers, return indices of the two numbers such that they add up to a spe
We can do the following:
numbers = [2, 7, 11, 15] target =9 for x in numbers: for y in numbers: if x+y==target: print(x,y)