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

Ryantwt07 patch 1 #24

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

Ryantwt07 patch 1 #24

wants to merge 2 commits into from

Conversation

ryantwt07
Copy link
Owner

Checklist

  • Signed CLA (Contributors License Agreement)
  • All commits have been signed.
  • There isn't a pull request with the same solution to the PR or issue.
  • You have read the files README.md and CONTRIBUTING.md

PR Information

  • Repository Changes
  • Python File
  • Other(s), please specify

If you have anwer Python File for the above question, please answer the next question. If not, leave the next one blank and continue on to the next question.

Python File Sections Changes

  • Variables
  • Error (Input)
  • Imports
  • Definitons
  • User Input
  • Solving

Information About PR

What is the issue about?

Are there any linking issues or PRs?

@ghost
Copy link

ghost commented Aug 14, 2022

Sider has detected 1 warning on analyzing the commit adb1935.

  • ⚠️ The number of issues (69) exceeded the limit of comments. Please visit Sider to review the issues.

If the errors persist even after retrying, the following actions may resolve them:

If you still have problems, feel free to ask us via chat. 💬


You can turn off such notifications if unnecessary.

@@ -0,0 +1,25 @@
def matrix_2_2_input():
cmd = int(input('''
Copy link

Choose a reason for hiding this comment

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

[Pylint] Bad indentation. Found 1 spaces, expected 4 (view)

Rule Severity Message-id Module Obj
bad-indentation warning W0311 matrix -

You can close this issue if no need to fix it. Learn more.

cmd = int(input('''
Enter 1 for 2 X 2 Matrix
>>> '''))
if cmd == 1:
Copy link

Choose a reason for hiding this comment

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

[Pylint] Bad indentation. Found 1 spaces, expected 4 (view)

Rule Severity Message-id Module Obj
bad-indentation warning W0311 matrix -

You can close this issue if no need to fix it. Learn more.

Enter 1 for 2 X 2 Matrix
>>> '''))
if cmd == 1:
n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: "))
Copy link

Choose a reason for hiding this comment

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

[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)

Rule Severity Message-id Module Obj
bad-indentation warning W0311 matrix -

You can close this issue if no need to fix it. Learn more.

>>> '''))
if cmd == 1:
n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: "))
n12 = float(input("Enter the element of the 2nd column and the 1st row of the 1st matrix: "))
Copy link

Choose a reason for hiding this comment

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

[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)

Rule Severity Message-id Module Obj
bad-indentation warning W0311 matrix -

You can close this issue if no need to fix it. Learn more.

if cmd == 1:
n11 = float(input("Enter the element of the 1st column and 1st row of the 1st matrix: "))
n12 = float(input("Enter the element of the 2nd column and the 1st row of the 1st matrix: "))
n21 = float(input("Enter the element of the 1st column and 2nd row of the 1st matrix: "))
Copy link

Choose a reason for hiding this comment

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

[Pylint] Bad indentation. Found 2 spaces, expected 8 (view)

Rule Severity Message-id Module Obj
bad-indentation warning W0311 matrix -

You can close this issue if no need to fix it. Learn more.

@@ -0,0 +1,25 @@
def matrix_2_2_input():
Copy link

Choose a reason for hiding this comment

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

[Pylint] Missing module docstring (view)

Rule Severity Message-id Module Obj
missing-module-docstring convention C0114 matrix -

You can close this issue if no need to fix it. Learn more.

print("Invalid Request")

def matrix_2_2_calculate():
X = [[n11, n12], [n21, n22]]
Copy link

Choose a reason for hiding this comment

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

[Pylint] Undefined variable 'n11' (view)

Rule Severity Message-id Module Obj
undefined-variable error E0602 matrix matrix_2_2_calculate

You can close this issue if no need to fix it. Learn more.

print("Invalid Request")

def matrix_2_2_calculate():
X = [[n11, n12], [n21, n22]]
Copy link

Choose a reason for hiding this comment

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

[Pylint] Undefined variable 'n12' (view)

Rule Severity Message-id Module Obj
undefined-variable error E0602 matrix matrix_2_2_calculate

You can close this issue if no need to fix it. Learn more.

print("Invalid Request")

def matrix_2_2_calculate():
X = [[n11, n12], [n21, n22]]
Copy link

Choose a reason for hiding this comment

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

[Pylint] Undefined variable 'n21' (view)

Rule Severity Message-id Module Obj
undefined-variable error E0602 matrix matrix_2_2_calculate

You can close this issue if no need to fix it. Learn more.

print("Invalid Request")

def matrix_2_2_calculate():
X = [[n11, n12], [n21, n22]]
Copy link

Choose a reason for hiding this comment

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

[Pylint] Undefined variable 'n22' (view)

Rule Severity Message-id Module Obj
undefined-variable error E0602 matrix matrix_2_2_calculate

You can close this issue if no need to fix it. Learn more.

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.

1 participant