Driver program
weight = [ 2 , 5 , 4 , 7 , 1 , 3 , 8 ] NEW_LINE c = 10 NEW_LINE n = len ( weight ) NEW_LINE print ( " Number ▁ of ▁ bins ▁ required ▁ in ▁ First ▁ Fit ▁ : ▁ " , firstFit ( weight , n , c ) ) NEW_LINE