Skip to content

pixge/team.blue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exercise 1

Running main will generate the exercise result in a json and csv file.

python3 main_ex1.py <optional:folder_path>
  • folder_path default value is /

Soruce folder is src/ex1

Running test:

python3 -m unittest discover tests/ex1

Exercise 2

Running main will compare the result of 100! generated by the exercise method with the one produced by math.prod.

The representation of numbers as arrays is handled at the SummableArray constructor level. When an integer is passed to this class, it is converted into an array representation, and all operations are performed using this format.

python3 main_ex2.py

Source folder is src/ex2

Running test:

python3 -m unittest discover tests/ex2

Tests

python3 -m unittest discover .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages