a guest Dec 16th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- lst = 
- pairs = 
- num = int(raw_input('How many numbers: '))
- for n in range(num):
- numbers = int(raw_input('Enter number: '))
- target = sum(lst)
- for index_i, i in enumerate(lst):
- for index_j, j in enumerate(lst):
- if index_j > index_i:
- if (i * j) > target:
- pair = '(' + str(i) + ',' + str(j) + ')'
- print pairs
RAW Paste Data