Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 11 Online
OpenStudy (anonymous):

in lecture ten when I try to run the program I get this error: while i < len(left) and j < len(right): if left[i] <= right[j]: R in right is highlighted: error is "expected an indented block:" Python 2.7.3

OpenStudy (rsmith6559):

Actually, without the next line of code, this is fairly impossible to troubleshoot. The message, to me, suggests that the next line of code should be indented relative to the if statement.

OpenStudy (anonymous):

I fixed the problem. I deleted the section an and pasted a new copy from the PDF of the file. No more indentation expected error.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!