Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sem3-ivt19-task1-1-mozgovoy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Мозговой Никита Александрович
sem3-ivt19-task1-1-mozgovoy
Commits
23c3118d
Commit
23c3118d
authored
Nov 12, 2020
by
Мозговой Никита Александрович
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lr6
parent
7fcb429f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
1 deletion
+0
-1
calcprint.cpython-38.pyc
__pycache__/calcprint.cpython-38.pyc
+0
-0
calculate.py
calculate.py
+0
-1
No files found.
__pycache__/calcprint.cpython-38.pyc
View file @
23c3118d
No preview for this file type
calculate.py
View file @
23c3118d
...
@@ -18,7 +18,6 @@ def convert_precision(prec):
...
@@ -18,7 +18,6 @@ def convert_precision(prec):
def
calculate
(
*
args
,
**
kwargs
):
def
calculate
(
*
args
,
**
kwargs
):
precision
=
convert_precision
(
kwargs
[
'precision'
])
precision
=
convert_precision
(
kwargs
[
'precision'
])
output_type
=
kwargs
[
'output_type'
]
output_type
=
kwargs
[
'output_type'
]
print
(
precision
)
if
args
[
-
1
]
==
'+'
:
if
args
[
-
1
]
==
'+'
:
result_sum
=
sum
(
args
[
0
:
-
1
])
result_sum
=
sum
(
args
[
0
:
-
1
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment