Unable to submit answer due to server getting timed out

Screen Link:
https://app.dataquest.io/m/331/python-data-analysis-basics/2/calculating-artist-ages

My Code:

ages = []

for row in moma:
    date = row[6]
    birth = row[3]
    
    if birth != '':
        if isinstance(int(birth), int):
            age = int(date - birth)
        else:
            age = 0
    else:
        age = 0
    ages.append(age)

final_ages = []


for age in ages:
    if age > 20:
        final_age = ages
    else:
        final_age = 'Unknown'
    final_ages.append(final_age)

What I expected to happen: The code should run

What actually happened: The server timesout

Timeout error

Having this one the next screen also. Looks like the servers are overloaded?

Hi @amit9815 and welcome to the community!

I think you’re right that something is going on with these screens – I am getting the same result despite having completed them before without a problem.

UPDATE: As I was responding, I tried screen #4 and it worked. Then I returned to screen #2 and it looks like it’s working again? Can you confirm this on your end?

@mathmike314 yes, but it doesn’t seem to want to run my code. It only works for code from answer. Although my code doesn’t seem to have any errors?