Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
likorn
/
iax0583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
15b35c98
authored
Oct 18, 2017
by
likorn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed another stupid error
parent
f804e60f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
homework1/main.py
homework1/main.py
View file @
15b35c98
...
@@ -74,8 +74,7 @@ if calculate_y(a + h) == 'complex number' or calculate_y(a + h) == 'infinite' or
...
@@ -74,8 +74,7 @@ if calculate_y(a + h) == 'complex number' or calculate_y(a + h) == 'infinite' or
y
.
append
(
calculate_y
(
a
+
h
))
y
.
append
(
calculate_y
(
a
+
h
))
counter
=
1
counter
=
1
while
counter
<
14
:
while
counter
<
14
:
if
calculate_y
(
calculate_x
(
counter
))
<=
ym
\
if
calculate_y
(
calculate_x
(
counter
))
==
'complex number'
or
calculate_y
(
calculate_x
(
counter
))
==
'infinite'
:
or
calculate_y
(
calculate_x
(
counter
))
==
'complex number'
or
calculate_y
(
calculate_x
(
counter
))
==
'infinite'
:
x
.
append
(
calculate_x
(
counter
))
x
.
append
(
calculate_x
(
counter
))
y
.
append
(
calculate_y
(
calculate_x
(
counter
)))
y
.
append
(
calculate_y
(
calculate_x
(
counter
)))
counter
+=
1
counter
+=
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