Cleaning and Preparing Data in Python error message (exercise 6)

Screen Link:

My Code:

for row in moma:
    BeginDate = row[3]
    EndDate = row[4]    
    row[3] = clean_and_convert(BeginDate)
    row[4] = clean_and_convert(EndDate)

What I expected to happen:

What actually happened:

Your code run has timed out.
This could be caused by writing an infinite loop, or an issue with our system.
Issue still persisting? Check our status page, or read about how to troubleshoot this error.

I also tried using the answer provided by the course but got the same error. I checked the status page and everything seems to be fine. Also, I would like to know if my code is completely wrong and where my mistake is… I feel like I’m still struggling with the for loops. Thank you much for your time and attention!!!

Hi @strawberryicemint042:

Please refer to this guide for adding a question link and tagging your topic, which will greatly help us in answering your questions.


1 Like

thank you for the quick response. will have a look at the guide :slight_smile:

Sure. By the way you were missing the screen link.

1 Like

oops, thank you for letting me know :slight_smile:

@strawberryicemint042 sometimes, refreshing the page and reloading the mission works perfectly for this problem, you can try it.

1 Like