Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT num = [ 2 , 4 , 6 , 7 , 8 ] NEW_LINE price = [ 10 , 20 , 100 , 20 , 40 ] NEW_LINE n = len ( price ) NEW_LINE print ( minSum ( n , num , price ) ) NEW_LINE DEDENT