All functions are correct but the final output doesn't mach

Hello,
I pass all the function on the assignment but at the end I got this result:

Output: Co mp uta tional complexity theory
Expected: Computational complexity theory

Output: p har ma
Expected: pharma

Do you know how can I fix it?

Thank you.

1 Like

Can you share screenshot of the output for your previous test cell where you passed the grader codes

1 Like

I tried to fix it one time but if I do it I can’t pass the grader. Nevertheless when I modified the function just to tried the final part it didn’t change the output. .

1 Like

Can you confirm assignment name? seems like this is not from week 3. Please make sure you have selected right course and week, or mention assignment name.

1 Like

This is week 2 assignment, be careful while selecting the correct categories while posting threads, if unsure you can always mention in the explanation.

Now comes to your output query, can I know if you by any chance made any change in
def get_model_answer non-grader cell??

In the grader cell construct answer, for below code line
join the tokens together with whitespace
DID YOU WRITE CODE WITH ONLY ONE SPACE RIGHT??

1 Like

I did not change the function get_model_answer.

For that line of code I use
out_string ={CODE REMOVED BY MODERATOR} method.

1 Like

Do one thing @Sebastian_Miranda, better DM me your assignment or code from the cell construct answer via personal DM. Kindly click my name and then message.

Regards
DP

Hello @Sebastian_Miranda

For the code line
replace ’ ##’ with empty string
YOU HAVE REPLACE WITH A SPACE STRING ’ ’ INSTEAD OF EMPTY STRING ‘NO SPACE NEED TO BE LEFT BETWEEN’

Thank you

1 Like