title: how to print elements of a list whose sum is equal to a given number in python?
body: <p>Consider a list of numbers from 0 to 50. I want to print all the combinations of elements from that list whose sum is equal to any given number say 41.
  One combination is [4,5,7,9,16].I want to print other combinations like this.</p>