Hi,
I was attempting Practice Lab 2 (Content filtering) in course 3 week 2. While I was able to complete the for loop in Exercise 2 with the right answers, the public test gave me an error report. Can anyone help me address the issue please? Thanks in advance.
Hi @PreSam,
Please do not post code in the forums as it is against the community guidelines.
You have hard coded n=3, it must be length of input array.
Best,
Mujassim
Thank you for the tip. I have removed the code from my question. Have a nice day.
I am facing some problem in exercise 2, can you please help me with the solution
Can you share the solution, I am facing the same issue!
Of course, I will try my best to help you. Please post a screenshot of the error you are encountering in Exercise 2.
No, please don’t post solutions here as it violates community guidelines.
can you share me the solution on tanay.act3@gmail.com?? It would be of great help. I am facing the same issue as @PreSam
If a = [1, 2, 3] and b = [4, 5, 6], and I asked you to output the length of either one of these vectors (since the length of both are same) what would you do?
Your solution lies there.