Error Bug

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by locating the public API for your_combinations and running the commented powerSet, combinations, and permutations examples with a minimal input. Compare each result with the documented combinatorics behavior; the issue is complete when the failing example or examples produce the expected results.

Written by the indexing model from the issue text.

Description

The following code does not work as expected:

# power set
# print("Power set:", list(your_combinations.powerSet()))

# combinations with repetition
# print("Combinations with repetition:", list(your_combinations.combinations(2, True)))

# combinations without repetition
# print("Combinations without repetition:", list(your_combinations.combinations(2)))

# permutations with repetition
# print("Permutations with repetition:", list(your_combinations.permutations(2, True)))

# permutations without repetition
# print("Permutations without repetition:", list(your_combinations.permutations(2)))
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.