Closed test cases in the activity challenge
Why is some of the test cases closed?
ghanem altamimi in "Code Coaches" every problem is enclosed with hidden cases so it's interesting to solve those challenges without any hint as if they are open to see you can easily crack the challenge by using switch cases or if else condition so they are hidden to make the things works interesting
DishaAhuja So you mean even if i fulfilled the requirements of the code coaches I'd still not pass the test because there is a more preferable way to solve the problem such as if else or switch cases?
If all test cases were open, you would be able to pass all cases without actually solving the problem. Knowing everything that goes in and out, you would easily write a code that goes: inp = input() if inp == "a": print("b") elif inp == "c": print("d") ... and get all the right outputs without even bothering to solve the problem.
How do I generate a list with <N> unique elements randomly selected from another (already existing) list?
Given three integer matrices A(m*n),B(m*n) and C(m*n) . Print the one with more zero elements. beside code
sizeof funtion with a loop in c!
1. Write a program that asks the user for their name and how many times to print it. The program should print out the user’s nam