if __name__ == ' _ _ main _ _ ' : set of n points on the X axis
arr = [ 1 , 2 , 3 , 4 ] ; NEW_LINE n = len ( arr ) ; NEW_LINE L = 4 ; NEW_LINE ans = countTripletsLessThanL ( n , L , arr ) ; NEW_LINE print ( " Total ▁ Number ▁ of ▁ ways ▁ = ▁ " , ans ) ; NEW_LINE