Guest User

Untitled

a guest
Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. hoops = []
  2. inputt= raw_input('Enter hoop: ')
  3. while inputt != '':
  4.  
  5. hoops.append((int(inputt.split(' ')[0]),int(inputt.split(' ')[1])))
  6. inputt=raw_input('Enter hoop: ')
  7. if hoops == []:
  8. exit
  9. print hoops
  10.  
  11. greatest = []
  12. greatest = 0
  13. cheight =hoops[0][0]
  14. for i in range(len(hoops)):
  15. for j in range(i+1, len(hoops)):
  16. if hoops[j][0] > current:
  17. continue
  18. if hoops[j][1] + hoops[i][1] >
Add Comment
Please, Sign In to add comment