-
Notifications
You must be signed in to change notification settings - Fork 0
Ryantwt07 patch 1 #24
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
ignore = W191 |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,25 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
def matrix_2_2_input(): | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Missing module docstring (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cmd = int(input(''' | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Enter 1 for 2 X 2 Matrix | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
>>> ''')) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
if cmd == 1: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
n12 = float(input("Enter the element of the 2nd column and the 1st row of the 1st matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
n21 = float(input("Enter the element of the 1st column and 2nd row of the 1st matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
n22 = float(input("Enter the element of the 2nd column and the 2nd row of the 1st matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
m11 = float(input("Enter the element of the 1st column and 1st row of 2nd matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
m12 = float(input("Enter the element of the 2nd column and 1st row of 2nd matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
m21 = float(input("Enter the element of the 2nd column and 1st row of 2nd matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
m22 = float(input("Enter the element of the 2nd column and 2nd row of 2nd matrix: ")) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
else: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
print("Invalid Request") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
def matrix_2_2_calculate(): | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Missing function or method docstring (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
X = [[n11, n12], [n21, n22]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Variable name "X" doesn't conform to snake_case naming style (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Undefined variable 'n11' (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Undefined variable 'n12' (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Undefined variable 'n21' (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Undefined variable 'n22' (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Y = [[m11, m12], [m21, m22]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Variable name "Y" doesn't conform to snake_case naming style (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
result = [[0, 0], [0, 0]] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
for i in range(len(x)): | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
for j in range(len(X[0])): | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
result[i][j] = X[i][j] + Y[i][j] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 3 spaces, expected 12 (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
for r in result: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 1 spaces, expected 4 (view)
You can close this issue if no need to fix it. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Variable name "r" doesn't conform to snake_case naming style (view)
You can close this issue if no need to fix it. Learn more. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
print(r) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Pylint] Bad indentation. Found 2 spaces, expected 8 (view)
You can close this issue if no need to fix it. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Pylint] Missing function or method docstring (view)
missing-function-docstring
convention
You can close this issue if no need to fix it. Learn more.