SCT error in this code

squares = [x**2 for x in range(1, 11)]
print filter(lambda x: x >= 30 and x <= 70, squares)

1 Like

What is the error you are being alerted to?

1 Like

i got the same problem , keeps showing “SCT Error” but the code seems to be correct

Hi, I’m getting the same message for a code that looks correct and provides the right result

Is there a bug or something making this SCT error?

This is accepted without any indicatioin of error…

squares = [(x + 1) ** 2 for x in range(10)]

print filter(lambda x: 30 < x and x < 70, squares)

Not sure why you are gettting an error since your code is fine. Still waiting to read the error message.

1 Like

I have this SCT error as well. I think my codes are correct .

squares = [x**2 for x in range(1,11)]
print filter(lambda y: y >= 30 and y <= 70, squares)

Hi mtf,

To be clear, the error literally says “SCT Error.” That’s it. We’re blocked from doing anything else because we can’t get past that error.



Is this an Edge only issue, I wonder? I use FF and on rare occasions Chrome.

1 Like

Experiencing the same issue. Using Google Chrome on macOS Sierra. Thanks!

Anybody weighing in, please do us the kindness of describing your system’s OS and browser. Thanks.

Win7, etc.
Firefox, etc.

This will help CC engineers zero in on the problem.

1 Like

I’m getting the same error as well. Using Chrome on a Windows 10 OS with the following code:

squares = [x**2 for x in range(1,11)]
print filter(lambda x: x<=70 and x>=30, squares)

What I think is the right result is printing to the console: [36, 49, 64], but then the code editor displays ‘SCT Error’ on the bottom and won’t let me move on.

well i am using Google Chrome on widows 10
as you can see here:

That makes 2 on Chrome, Win10. Both with the same issue. Starting to get somewhere.

1 Like

Same thing on Windows 7 and both Google Chrome and Firefox

FYI, Recently the course name has changed from Python to Learn Python. Along with this, UI has totally changed in this version.
Also, few of my friends had the same code in their older version and it really worked for them.
Now, why is this SCT (Submissive Correctness Test) Error is coming after the change of UI ?

I tried working on many browsers, tried resetting the code and even tried to work on different system… Nothing Worked !
Is this the bug in this newer version???

Please suggest some solution asap.

Same problem. Google Chrome

Same Problem on Safari

Same Problem on Win 7 and Firefox browser