text: Returns the best obtainable price for a rod of length n and price [ ] as prices of different pieces
code: def cutRod ( price , n ) : NEW_LINE INDENT val = [ 0 for x in range ( n + 1 ) ] NEW_LINE val [ 0 ] = 0 NEW_LINE DEDENT