code: def test_num_combinations():
      assert (
          num_combinations(n=20, k=8, with_replacement=False) == 125970
      )
      assert (
          num_combinations(n=20, k=8, with_replacement=True) == 2220075
      )
      print(num_combinations(n=300, k=10))
      assert (
          num_combinations(n=300, k=10, with_replacement=False)
          == 1398320233241701770
      )
  
imports: from mlxtend.math import factorial, num_combinations, num_permutations
label_desc: Use image node_id 2 for calling a global function with example usage: test_num_combinations() without return types