+ 8

# How do i unlock a test case when it's hidden??

20th Jun 2021, 2:57 PM
Gee Pebbles
+ 2
Gee Pebbles You did opposite division. You have to get hours so divide distance with average so It should be time = 7425 / 550 print (time)
20th Jun 2021, 4:04 PM
AÍ¢J
+ 6
I can't unlock testcases even if I go pro?? This is ridiculous. My code passes 4 out of 5 test cases and I cannot see where the issue is cause testcases are hidden. This is stupid. I'd like to self correct but I do not know where the issue is because it's hiodden!
3rd Nov 2022, 6:53 PM
PaweÅ‚ Kosecki
+ 5
You cant unlock the hidden test case, but if you write the right code you will pass the test. Do you pass test? If not show your code.
20th Jun 2021, 3:32 PM
Angela
+ 4
Oh ok Thanks ðŸ™‚ðŸ™‚
20th Jun 2021, 4:07 PM
Gee Pebbles
+ 3
Gee Pebbles Generic logic means which satisfy all condition for different inputs. For example if we have inputs 2 and 3 then multiplication should be 6. If we have inputs 4 and 5 then multiplication should be 20. So for above two cases we can write Hard Code logic means we can print like this print (2 * 3) print (4 * 5) But if there are thousands test cases then it is not possible to write for every test case so for this we will write generic logic which will take inputs from user and gives result according to that. So we can write Generic logic like this: num1 = int(input()) num2 = int(input()) print (num1 * num2)
20th Jun 2021, 3:31 PM
AÍ¢J
+ 3
Gee Pebbles This is the link of problem. We can't see your code here.
20th Jun 2021, 3:58 PM
AÍ¢J
+ 3
I have exactly the same issue: Tests 1-3 are passed for "Average of Rows". I can look at Tests 1+2, but not 3 although I apparently passed it ("locked", "hidden"). Tests 4+5 are failed, but I have no clue why, because I can't even look at test 4, since the (passed) Test 3 stays locked.
9th Jun 2022, 4:19 PM
Dirk Macke
+ 2
Thank you!!ðŸ™‚
20th Jun 2021, 3:45 PM
Gee Pebbles
20th Jun 2021, 3:52 PM
Gee Pebbles
+ 2
time = float(550 / 7425) print (time) This is it
20th Jun 2021, 4:01 PM
Gee Pebbles
+ 2
And what if I have put the correct code ("checked") and hidden is still hidden?
27th May 2022, 5:38 PM
JÄ™drzej Sa
+ 1
Gee Pebbles If you write generic logic then all test cases will be pass.
20th Jun 2021, 3:02 PM
AÍ¢J
+ 1
But what is generic logic??
20th Jun 2021, 3:22 PM
Gee Pebbles
+ 1
Even though I passed Test Case 1 and Test Case 2, I am not able to proceed further on next test and it does not show pass option. Is this any error in Sololearn? https://www.sololearn.com/learning/eom-project/1157/1020
13th Feb 2022, 2:22 AM
â€ŽÙ…Ø­Ù…Ù‘Ø¯ Ù†ÙˆØ´ÛŒØ±â€Ž