Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hoops = []
- inputt= raw_input('Enter hoop: ')
- while inputt != '':
- hoops.append((int(inputt.split(' ')[0]),int(inputt.split(' ')[1])))
- inputt=raw_input('Enter hoop: ')
- if hoops == []:
- exit
- print hoops
- greatest = []
- greatest = 0
- cheight =hoops[0][0]
- for i in range(len(hoops)):
- for j in range(i+1, len(hoops)):
- if hoops[j][0] > current:
- continue
- if hoops[j][1] + hoops[i][1] >
Add Comment
Please, Sign In to add comment