Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assignment 1 done #23

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

assignment 1 done #23

wants to merge 2 commits into from

Conversation

TWD-LIS
Copy link

@TWD-LIS TWD-LIS commented Jan 25, 2021

all done

Week1/work.py Outdated

sqre = square(number)

print("the square of a given number", sqre)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a common mistake @ALL of you are doing you don't put the checking or debugging code in the file that is input() and print() functions and please do not change the name o the function as in here. it was demo which was changed into square. hence It would fail.

A = np.array([[3, -9], [2, 4]])
b = np.array([-42, 2])
z = np.linalg.solve(A, b)
print(z)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here dont check the code like this organize the code into a function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants