Scientific Computing with Python Projects - Arithmetic Formatter

receiving this error message in the Scientific Python | Arithmetic Arranger

Traceback (most recent call last):
File “/home/runner/boilerplate-arithmetic-formatter-11/”, line 4, in
from arithmetic_arranger import arithmetic_arranger
ImportError: cannot import name ‘arithmetic_arranger’ from ‘arithmetic_arranger’ (/home/runner/boilerplate-arithmetic-formatter-11/

I have completed the other 4 scientific python challenges. So not sure what is causing this error.

I did have to run pip install pytest to get past that error.

Tried to update the Replit Config to “Python Main” but that did not have any effect.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15

Challenge Information:

Scientific Computing with Python Projects - Arithmetic Formatter

can you post a link to your replit?

replit link:

a syntax error: if len(problems>=5):

The condition should be enclosed in parentheses:

if len(problems) >= 5:
 for s in range(lenght):

should be length

I did not have a chance to check syntax, I could not progress. I thought it was a Replit/System error
I had misspelled the name of the function I had arithmetic_arranAger - extra A
Thanks, it is working now.


yes ,you have a typo in the function name. It should be arithmetic_arranger , not arithmetic_arranager .

def arithmetic_arranager

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.