Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

[Problem Set 3 - Part B] When I run perm.py an error occurs: "Inconsistent identetion detected!" But I can't find where the problem is. Besides, the code was given. Did someone have the same problem?

MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SIGN UP FOR FREE
it means that the spacing before a statement is wrong - not the same as that above it: for x in range(11): ....f = x **2 .....g = f//2 g has an extra space before it - the god python is not pleased
It can also be caused by switching between Idle and a good text editor. I gave up using Idle because it was changing my tabs to spaces in the file, and the interpreter realizes that 8 spaces is different from 2 tabs.
In IDLE, use the Ctrl-[ or the menu to "Dedent" everything. Then use the Ctrl-] to Indent everything as it should be. That usually works to solve these problems for me.

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

Not the answer you are looking for?

Search for more explanations.

Ask your own question