[closed] [BUG] Homework Submition: Cant submit Homework for Problem 6, Unit 2

I cannot submit my homework for Problem 6, Unit 2. My code runs perfectly when i press the RUN button, but as i Submit my code, It keeps on "Working.." and then a alert box pops out saying "Something bad happened trying to communicate with the website.", and this happens repeatedly. I have successfully submitted my H.W for all other problems and they work absolutely fine, I only see an issue with this problem.

asked 29 Feb '12, 01:02

Aneesh%20Dogra's gravatar image

Aneesh Dogra
1.3k51536
accept rate: 43%

closed 02 Mar '12, 00:41

The question has been closed for the following reason "The question is answered, right answer was accepted" by Aneesh Dogra 02 Mar '12, 00:41


5 Answers:

try to test solution with empty target or source string, if you have coded pos = pos + len(target) or something you will be very surprised.

link

answered 29 Feb '12, 02:51

Denis%20Shchepetov-1's gravatar image

Denis Shchep...
40738

Already checked. My code works fine.

(29 Feb '12, 04:52) Aneesh Dogra Aneesh%20Dogra's gravatar image

thanks for that remark that was my problem

(01 Mar '12, 15:06) Jan Spring Jan%20Spring's gravatar image

It solved it for me too! thanx!

(02 Mar '12, 04:31) gmm gmm's gravatar image

Have you tried restarting your browser? It is possible that you created an infinite loop.

link

answered 29 Feb '12, 01:04

Aaron%20McCray's gravatar image

Aaron McCray
401211

As i said, I alrerady tested the problem, with some inputs and it works perfectly.

P.S: I also tested it with large string > 200 chars, and it still works

(29 Feb '12, 01:07) Aneesh Dogra Aneesh%20Dogra's gravatar image

Interesting, I just went back and re-submitted my answer and it is working fine for me. It is also very interesting that you are only having this problem on one quiz.

(29 Feb '12, 01:11) Aaron McCray Aaron%20McCray's gravatar image

Wait I'll try with another browser

(29 Feb '12, 01:12) Aneesh Dogra Aneesh%20Dogra's gravatar image

I was just thinking possibly that the browser might be the issue.

(29 Feb '12, 01:13) Aaron McCray Aaron%20McCray's gravatar image

No, Nothing I just tried the same with another browser (Google Chrome) and still the same :(

(29 Feb '12, 01:16) Aneesh Dogra Aneesh%20Dogra's gravatar image

I am at a loss, hopefully someone else can help.

(29 Feb '12, 01:17) Aaron McCray Aaron%20McCray's gravatar image

Maybe some character_encoding issues as I copy pasted my code from a text editor (gedit), let me reset and rewrite my code

(29 Feb '12, 01:18) Aneesh Dogra Aneesh%20Dogra's gravatar image

Still nothing! :(

(29 Feb '12, 01:24) Aneesh Dogra Aneesh%20Dogra's gravatar image

I'm having the same problem. Thanks for the advice.
*EDIT
I restarted my browser and the problem is still happening. I thinks its on their end. Hopefully tomorrow will be different.

(29 Feb '12, 02:42) drsrjohn drsrjohn's gravatar image

I am experiencing the same problem. I hope it gets resolved.

link

answered 29 Feb '12, 01:26

OneKae-1's gravatar image

OneKae-1
3382310

oh! So it not only me.

(29 Feb '12, 01:35) Aneesh Dogra Aneesh%20Dogra's gravatar image

I am also experiencing it!

link

answered 01 Mar '12, 17:53

gmm's gravatar image

gmm
174

try this on your code: print
print find_last('ab', '')

link

answered 01 Mar '12, 18:13

Eduardo-1's gravatar image

Eduardo-1
934

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×15,267
×2,216
×1,718
×300
×236
×31

Asked: 29 Feb '12, 01:02

Seen: 454 times

Last updated: 02 Mar '12, 04:31