Dashboard Temp Share Shortlinks Frames API

HTMLify

__init__.py
Views: 123 | Author: guest
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# mater pakage's intial file
#from .functions.lcm import lcm
#from .classes import *

__all__ = [
"is_prime",
"factorial",
"alternative_factorial",
"double_factorial",
"super_factorail",
"hyper_factorail",
"ultra_factorial",
"primorial",
"ultra_primorial",
"pow",
"sqrt",
"is_palindrome",
"average",
"cbrt",
"xroot",
"dpfactors",
"is_power_of2",
"floor",
"is_even",
"is_odd",
"is_armstrong",
"divisors",
"is_amicables",
"quadratic_roots",
"akermann",
"gcd",
"lcm",

"Square",
"Rectangle",
"Circle",
"SemiCircle",
"Matrix",
"Cube"
]


for i in __all__:
    try:
        exec("from .functions." + i + " import " + i )
    except:
        try:
            exec("from .classes." + i + " import " + i )
        except:
            pass