Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SETaratukhina
Var7
Commits
0985aef7
Commit
0985aef7
authored
Mar 09, 2021
by
SETaratukhina
Browse files
Update main.py, mymodule.py files
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
main.py
0 → 100644
View file @
0985aef7
from
mymodule
import
g
x
=
int
(
input
())
i
=
int
(
input
())
print
(
g
(
x
,
i
))
mymodule.py
0 → 100644
View file @
0985aef7
from
math
import
factorial
def
g
(
x
,
i
):
f
=
0
for
j
in
range
(
1
,
i
+
1
):
a
=
(((
factorial
(
j
))
/
(
factorial
(
2
*
j
+
1
)))
*
(
x
**
(
2
*
j
+
1
)))
f
=
f
+
a
return
f
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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