-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomputor.py
More file actions
21 lines (19 loc) · 1.1 KB
/
computor.py
File metadata and controls
21 lines (19 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# **************************************************************************** #
# #
# ::: :::::::: #
# computor.py :+: :+: :+: #
# +:+ +:+ +:+ #
# By: cpieri <cpieri@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2019/09/17 20:04:23 by cpieri #+# #+# #
# Updated: 2019/09/17 20:58:45 by cpieri ### ########.fr #
# #
# **************************************************************************** #
import sys
from polynomial_class import Polynomial
from utils import *
if __name__ == "__main__":
if (len(sys.argv) != 2):
exit_error("You didn't enter just one polynomial equation as a parameter!")
else:
Polynomial(sys.argv[1])