Skip to content

A program for generating and analyzing four-digit combinations. Provides sequence counts and verification using itertools and collections libraries.

Notifications You must be signed in to change notification settings

bl33h/digitsCombination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

digitsCombination

A program that allows you to generate and analyze various combinations of four digits. It provides useful information about the count of different types of sequences and performs a verification check. The script utilizes libraries such as itertools and collections for efficient computation.


pic

FilesFeaturesHow To Use

Files

  • src: the file that implements de solution.

Features

The main features of the application include:

  • Enumeration of all possible 4-digit sequences.
  • Identification of sequences with repeated elements.
  • Extraction of sequences with identical four elements.
  • Detection of sequences where two digits occur twice.
  • Identification of sequences with one element repeated twice and the other two elements unique.
  • Extraction of sequences where one element is repeated three times while the other element remains non-repeating.
  • Verification process to ensure consistency between section counts.

How To Use

To clone and run this application, you'll need Git and Python installed on your computer. From your command line:

...

# Clone this repository
$ git clone https://github.com/bl33h/digitsCombination

# Install dependencies
$ pip install itertools
$ pip install collections

# Open the folder
$ cd src

# Run the app
$ python digitsCombination.py

About

A program for generating and analyzing four-digit combinations. Provides sequence counts and verification using itertools and collections libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages