initialized package

This commit is contained in:
2024-04-23 14:16:38 +02:00
parent e5c11d0280
commit 2d190ec269
5 changed files with 86 additions and 0 deletions

8
src/numerix/__init__.py Normal file
View File

@@ -0,0 +1,8 @@
"""
# Numerix
"""
def add_four(x):
return x + 4
from .addition import add_two

17
src/numerix/addition.py Normal file
View File

@@ -0,0 +1,17 @@
from .numbers import one
def __add_secret(x):
return x + 7
def add_two(x):
return x + 2
def one_plus_two():
return add_two(one())

9
src/numerix/numbers.py Normal file
View File

@@ -0,0 +1,9 @@
def one():
return 1
def random():
return 4 # this number was obtained from a fair die