-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathmin_max.py
More file actions
34 lines (26 loc) · 559 Bytes
/
min_max.py
File metadata and controls
34 lines (26 loc) · 559 Bytes
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
"""
min_max.py
Author: Shisato Yano
"""
class MinMax:
"""
Limitation values class of axis
"""
def __init__(self, min=0, max=10):
"""
Constructor
min: Minimum value of axis
max: Maximum value of axis
"""
self.min = min
self.max = max
def min_value(self):
"""
Function to get minimum value
"""
return self.min
def max_value(self):
"""
Function to get maximum value
"""
return self.max